I am using a Multi-Select Dropdown that is dynamically loaded from a DB table. The Multi-Select shows the correct items and allows multiple selections of items.
When I select multiple items in the list and Submit, in Debug $form->data only shows a single selected value. I would have expected to see an array or comma separated list.
How do I get the the full list of selected items?
I have not been able to find any examples or posts that make sense to me.
When I select multiple items in the list and Submit, in Debug $form->data only shows a single selected value. I would have expected to see an array or comma separated list.
How do I get the the full list of selected items?
I have not been able to find any examples or posts that make sense to me.
Hi MainsailSoftware,
You need to give the Multi-Select DropDown an array name with [] at the end e.g. drop_down99[]
Bob
You need to give the Multi-Select DropDown an array name with [] at the end e.g. drop_down99[]
Bob
Perfect Bob...
Now I get a comma separated list. I should have thought of trying that!
Jim
Now I get a comma separated list. I should have thought of trying that!
Jim
This topic is locked and no more replies can be posted.