It is for a form which will display a product.  That product has options you 
can add to.  Like Coffee, you can have the option of whole milk/skim/cream, 
sugar/equal/brown, caffine/decafe and so on.

I want to pass these options along with the productID and qty.

The possible values that are passed are:

FORM.ProductID,
FORM.Qty
FORM.Option1 (option#count#)
FORM.Option2
FORM.Option3
And so on...

The Options are created dynamic so I don't know how many option groups (ie 
milk, sweeatner) I will have for each option (whole, skim, equal, splenda).  
This is why I have the input name= option#counter#.  Since I'm working with 
radio input each group of options must have a unique name so I can select 
either whole milk, skim....
whole milk skim milk all have input nmes option1
white sugar, equal all have input names option2


The sku and qty are stored in a cartTable with a unique key for each line. 
Options will be insert in a seperate table which will only store the optionID 
and the cartID.

Anyway, I don't know how to pass the many options along with the productID and 
qty.


Can you point me to how to do this?
  
> I have no idea what you are really trying to do.  It sounds very 
> convoluted.
> 
> But hopefully the answer to your question is the array notation for 
> form data.  It usually is for these kinds of serially numbered fields.
> 
> 
> #form["fieldname" & counter]#
> 
> HTH
> 
> --------------
> Ian Skinner
> Web Programmer
> BloodSource
> www.BloodSource.org
> Sacramento, CA
> 
> ---------
> | 1 |   |
> ---------  Binary Soduko
> |   |   |
> ---------
 
> 
> "C code. C code run. Run code run. Please!"
> - Cynthia Dunning
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231336
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to