Multi-Select

All WYSIWYG Web Builder support issues that are not covered in the forums below.
Forum rules
IMPORTANT NOTE!!

DO YOU HAVE A QUESTION OR PROBLEM AND WANT QUICK HELP?
THEN PLEASE SHARE A "DEMO" PROJECT.



PLEASE READ THE FORUM RULES BEFORE YOU POST:
http://www.wysiwygwebbuilder.com/forum/viewtopic.php?f=12&t=1901

MUST READ:
http://www.wysiwygwebbuilder.com/getting_started.html
WYSIWYG Web Builder FAQ
Post Reply
User avatar
mfirlotte
 
 
Posts: 162
Joined: Tue May 12, 2020 5:09 pm
Location: Quebec, Canada

Multi-Select

Post 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.
====
Mitch
====
User avatar
BaconFries
 
 
Posts: 6047
Joined: Thu Aug 16, 2007 7:32 pm

Re: Multi-Select

Post 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....
User avatar
mfirlotte
 
 
Posts: 162
Joined: Tue May 12, 2020 5:09 pm
Location: Quebec, Canada

Re: Multi-Select

Post 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.
====
Mitch
====
Post Reply