You can do this by naming them all the same value.
That is, if you don't need the separate form values
on the next page. 
For example:

<select name="Allthree">
<option>SM</option>
<option>MED</option>
<option>LG</option>
<option>XL</option>
</select>
<select name="Allthree">
<option>WHITE</option>
<option>BLACK</option>
<option>RED</option>
<option>GREEN</option>
</select>
<select name="Allthree">
<option>VNECK</option>
<option>POLO</option>
<option>CREW</option>
<option>TANK TOP</option>
</select>

This will be passed as
form.Allthree = "SM,WHITE,POLO"

If that makes sense.

Robert


-----Original Message-----
From: CF Crazy [mailto:[EMAIL PROTECTED]]
Sent: Thursday, April 12, 2001 1:55 PM
To: CF-Talk
Subject: Single input from multible selects | Please Help?


I want to be able to take multiple select boxes and pass all
chosen options to a single form field. The cart I am send this
to does not support more then one option field.

Example

<select name="SIZE">
<option>SM</option>
<option>MED</option>
<option>LG</option>
<option>XL</option>
</select>
<select name="COLOR">
<option>WHITE</option>
<option>BLACK</option>
<option>RED</option>
<option>GREEN</option>
</select>
<select name="STYLE">
<option>VNECK</option>
<option>POLO</option>
<option>CREW</option>
<option>TANK TOP</option>
</select>

<input name="allthree" type="HIDDEN" value="SizeResults, ColorResults, 
StyleResults">

Any Ideas?


Thanks,
Stephanie


ALSO:
I still have this question too:


Does anybody know of a tag or snippet of code to create a DBF from a query 
result?



Thanks,
Stephanie
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to