Here's the situation:
I have a form where the customer fill in billing/shipping info. Once the info has been validated, I want to pass the billing/shipping info to the next form; the shipping method/payment form-page.
However, I can't seem to pass the info from one page to the next. Here's my first form:
<CFFORM action="billship.cfm" method="POST" enablecab="Yes">
<CFINCLUDE template="inc_newbilladdress.cfm">
<CFINCLUDE template="inc_existingbilladdress.cfm">
</CFFORM>
The form posts to itself because it needs to validate the information. Assuming that I have the variables set to true once the information has been validated, I can I say that I want to post all the information collected to the 'shippay.cfm' form?
For example:
<CFIF ValidatedInfo EQ 0>
<CFFORM action="billship.cfm" method="POST" enablecab="Yes">
<CFINCLUDE template="inc_newbilladdress.cfm">
<CFINCLUDE template="inc_existingbilladdress.cfm">
<CFELSE>
<CFFORM action="shippay.cfm" method="POST" enablecab="Yes">
</CFIF>
</CFFORM>
And then it goes to next page. Thanks.
I have a form where the customer fill in billing/shipping info. Once the info has been validated, I want to pass the billing/shipping info to the next form; the shipping method/payment form-page.
However, I can't seem to pass the info from one page to the next. Here's my first form:
<CFFORM action="billship.cfm" method="POST" enablecab="Yes">
<CFINCLUDE template="inc_newbilladdress.cfm">
<CFINCLUDE template="inc_existingbilladdress.cfm">
</CFFORM>
The form posts to itself because it needs to validate the information. Assuming that I have the variables set to true once the information has been validated, I can I say that I want to post all the information collected to the 'shippay.cfm' form?
For example:
<CFIF ValidatedInfo EQ 0>
<CFFORM action="billship.cfm" method="POST" enablecab="Yes">
<CFINCLUDE template="inc_newbilladdress.cfm">
<CFINCLUDE template="inc_existingbilladdress.cfm">
<CFELSE>
<CFFORM action="shippay.cfm" method="POST" enablecab="Yes">
</CFIF>
</CFFORM>
And then it goes to next page. Thanks.