Maybe I'm going about this the wrong way but, I'm building a shopping cart
and for the checkout page I've looped a cfform because for each item the
user has to specify the same 3 values, for example Resolution.

Note the textbox includes the looped ItemNum in the name to make it's name
unique.

<cfinput type="Text" name="Resolution#GetItems.ItemNum#">

My problem is on the submit page, how do I reference Form.Resolution001
(which is really #Form.ResolutionGetItems.ItemNum#),  and so on without
getting a syntax error? Can I use something other than #s around the inside
variable?

I basically need to know the syntax to reference a variable that has another
variable built into the name, if that makes any sense?

Any ideas?

Thanks
-Paul


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:202601
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