Page 1 of 1

Multi-Select

Posted: Thu Feb 10, 2022 11:44 pm
by mfirlotte
Hi there...

I have a form with 2 combo boxes, both with about 4 to 5 items each, and both have the option to "Allow multiple selections" checked on. I use the "Use built-in PHP form processor script" to process the form and send me an email of the form.

The web page when published works fine and a user can select multiple items from either or both combo boxes. The problem is the when I receive the email, only one of the items for each box is shown, not all of the selections that have been highlighted by the user.

Am I missing something or do I need to do something extra to make this work?

Thanks.

Re: Multi-Select

Posted: Fri Feb 11, 2022 12:34 am
by BaconFries
I have a form with 2 combo boxes, both with about 4 to 5 items each, and both have the option to "Allow multiple selections" checked on.
When you use this then each item name needs to end with [] (square brackets) so they look like this item1[] item2[] and so on....

Re: Multi-Select

Posted: Fri Feb 11, 2022 12:53 pm
by mfirlotte
Thanks BaconFries...that was it.

Didn't see in the Help that this needed to be named as an array to multi-select.

Thanks so much...works perfectly now.