Personally, I would be passing the value of the type not the value. Let the
server then decide what the cost is, if you start passing currency around
like this, then you are opening up to a security issue.

So you could have a radio button for the user to select, which then has the
values of your types. When submitted the type is checked and done a lookup
or whatever you need to do, to then grab the value and do what you need to
do from there.


Regards,
Andrew Scott
http://www.andyscott.id.au/


> -----Original Message-----
> From: Brian Cain [mailto:[email protected]]
> Sent: Friday, 4 March 2011 1:36 AM
> To: cf-talk
> Subject: Re: I'm confused/stumped - cant figure this out
> 
> 
> Why are you using hidden text fields at all?  You can put the amount in
the
> options value attribute.
> 
> 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Order the Adobe Coldfusion Anthology now!
http://www.amazon.com/Adobe-Coldfusion-Anthology/dp/1430272155/?tag=houseoffusion
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:342740
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to