I have seen several examples of using multiple form buttons on a single form. 
The idea is that you can get the value of the respective form variable when you 
are posted and then take the appropriate action.

But I'm getting odd results. Instead of getting a single value, I get both 
values every time, and the examples I've seen suggest that you should only get 
the one that was pressed.

Can anyone tell me what I'm doing wrong or what I need to do to get a single 
value? My code for the buttons is as follows:

<input name="Choose" value="Change" type="submit" class="EditButton" />
<input name="Choose" value="Full" type="submit" class="EditButton" />

When I CFDump it, FORM.Choose is Change,Full 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Want to reach the ColdFusion community with something they want? Let them know 
on the House of Fusion mailing lists
Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:333212
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/groups/cf-talk/unsubscribe.cfm

Reply via email to