Click to See Complete Forum and Search --> : Forms: Select Multiple - seperate by commas?


innuen6o
07-19-2003, 02:30 AM
This may be a really basic question (I'm a total newbie). Right now, I have part of an HTML document as follows:

<select name=names multiple size=4>
<option> etc...

Does anyone know how the multiple selections are stored in the variable names? I would like them to be seperated by commas. I guess, is there any way to combine the multiple selected variables and combine them to one (where all the choices are comma seperated).

I'm trying to build a front-end for www.myairmail.com. The only problem is, is that they only take "," seperated. I don't think the 'multiple' select does that.

Thanks!

Khalid Ali
07-19-2003, 08:04 AM
you will need to go through the array of options and find out which are seleced and thenappend them to each other separated by ,

Exuro
07-19-2003, 03:36 PM
Try this out: