Hi Everyone-

I am stumped on something and was hoping to get some assistance. I have a form 
that contains checkboxes that people will use to select up to 4 items. The 
value on the checkbox is the ProductID. After they select these items, I need 
to pass the ProductIDs in another form. The ProductIDs are what will pass to a 
shopping cart so it knows what products to add to the cart.

So basically people will have this below:

<table border="2" cellpadding="5" cellspacing="0" align="center">
<tr>
<td>
<input type="checkbox" name="Modules" value="2356">1
<input type="checkbox" name="Modules" value="2357">2
<input type="checkbox" name="Modules" value="2358">3
<input type="checkbox" name="Modules" value="2359">4
</td>
</tr>
</table>

Then they choose however many items which then will get passed into the 
following:

<input type="Hidden" name="ProductID" value="#Modules#-1">

I can't get the checkbox list into the value like "2356-1;2358-1;"

Any advice on this would be great.

Thanks. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion 8 - Build next generation apps
today, with easy PDF and Ajax features - download now
http://download.macromedia.com/pub/labs/coldfusion/cf8_beta_whatsnew_052907.pdf

Archive: 
http://www.houseoffusion.com/groups/CF-Newbie/message.cfm/messageid:2994
Subscription: http://www.houseoffusion.com/groups/CF-Newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to