It is passed to tag first. What I'm not clear on is how to loop the form
fields.
<cfmodule
template="productAdd.cfm"
action = "add"
ProductID = "#FORM.ProductID#"
qty = "#FORM.Qty#"
options = "#FORM.Option.CurrentRow#"
>
>Hi,
>By saying 'I want to pass these options along with the productID and qty',
>are you saying that when you submit the form, the values are not being
>passed to the action page?
>
>Otherwise Ian's answer about the array notation for form data seems right.
>In simple terms, the radio button for option1 will be named
>form.option1(when the action page sees it) and it's value will be
>#form.option1#.
>
>If you know the total number of options, you can loop through that number
>like so (not tested):
>
><cfloop from=0 to=thatNumber index="thisNumber">
> <cfif StructKeyExists(form,'option#thisNumber#')>
> <cfset whateverVariable = #form["option" & thisNumber]#>
> </cfif>
></cfloop>
>
>George
>
>On 2/3/06, j s <[EMAIL PROTECTED]> wrote:
>>
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:231363
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