I need to build a shopping cart where a list if items is presented including a 
text field for quantity. But instead of each item having it's own "add to cart" 
form where a user adds each item to the cart one item at a time - the user 
needs to be able to go through the list, adding quantities to each item they 
want, then submit one button to add all items selected. 

I can't seem to get my head around setting this up, nor can I find an example 
of where it has been done. 

Something like:
<FORM>
<cfoutput>              
item 1  <input type="hidden" name="#id#" value="#id#"><input type="text" 
name="#id#addQty">
item 2  <input type="hidden" name="#id#" value="#id#"><input type="text" 
name="#id#addQty">
</cfoutput>

<input type="submit" name="submit">
</form> 

If I use the above, how best to deal with the submitted form data? The field 
names will vary, based on the list of items. 

Or, is there simply a better way to do this. 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:317113
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to