The following new message has been posted on Phorm Support Forum at <http://www.phorm.com/support/>. *************************************************************************** MESSAGE: (#2157) Re: Muliti Select Drop Down Box <http://www.phorm.com/support/?rev=2157> AUTHOR: Holotech DATE: January 23, 2003 at 8:45 a.m. EST Reply To: (#2125) Muliti Select Drop Down Box Author: William Date: January 20, 2003 at 4:47 p.m. EST > I am using a form with several multi select drop down > boxes. > All I get back for data is the last selected entry. I > am sure it has something to do with arrays but I have > not read any examples of this in PHORM. Hmm. I thought I had mentioned this in the documentation. Well, it's in there now (for the next release). Anyway, here's what it says: =========================== Multi-value Form Fields If a field on your form can have more than one value, for example a group of CHECKBOXes or a SELECT with the MULTIPLE attribute, PHP will return only the last value unless you indicate to it that it's an array. Do this by adding [] to the end of the name. For example: <INPUT TYPE=CHECKBOX NAME="Color[]" VALUE="red"> <INPUT TYPE=CHECKBOX NAME="Color[]" VALUE="blue"> <SELECT NAME="Type" MULTIPLE SIZE=5> Of course, this then leaves you with the problem that the variable substitution for those fields will just return "Array". Use the built-in function ArrayToList to convert it to a plain character string. See the documentation Formatting Your Data section for details. =========================== Of course, the ArrayToList function isn't built in yet, you have to download the FormatLib plugin from http://www.phorm.com/plugins.php3 and install it. Oh, and depending on your browser's font, the [ and ] up there may look like a single character [], but they're not. *************************************************************************** This is an automatically-generated notice. If you'd like to be removed from the mailing list, please visit Phorm Support Forum at <http://www.phorm.com/support/>, or send your request to webbbs@xxxxxxxxxx If you wish to respond to this message, please post your response directly to the board. Thank you! ------------------------------------------------- You are receiving this message because you are subscribed to the Phorm mailing list. To send messages to the mailing list, simply send email to phorm@xxxxxxxxxxxxx from the address you have subscribed. You may unsubscribe from the list by sending email to phorm-request@xxxxxxxxxxxxx with 'unsubscribe' in the SUBJECT field.