Hi David,

This is the method I use for similar processes although others may have their 
own methods to share.

In the form, have two radio input form elements name="purchase_with" 
value="credit_card -and- purchase order". Then have corresponding form fields 
to collect the desired information based on their purchase with choice.

Then on the action page perform a <cfif> to see which "purchase_with" type they 
have chosen and then process the associated form fields. This way if they 
choose purchase order, then the credit card side of things will not come into 
play and vice a versa.

I have used this method many times over and have not encountered any issues as 
of date.

Leonard 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
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-newbie/message.cfm/messageid:4941
Subscription: http://www.houseoffusion.com/groups/cf-newbie/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.15

Reply via email to