cybereaper
04-11-2004, 10:56 AM
I am becoming familiar with:
<form name="sending" method="POST" action="receive.asp"
target="_self"> //in Form1 (sendform.htm)
<input type="hidden" name="form_field" value="<% =request("form_field") %>">//in the receive.asp form
----------------------------------------------------------------
I want to stay with this method because the info I pass on I don't want seen.(not right away anyway.)
If I want a form where the first part is personal info, second purchase & cc info and the third a confirmation before emailing and posting my data to a database, am I right to assume the following:
'from the sendform.asp
<form name="sending" method="POST" action="receive.asp"
target="_self"> 'in Form1 (sendform.htm)
<input type=text name="name" />
'in the receive.asp form:
<input type="hidden" name="name" value="<% =request("name") %>">
<form name="sending2" method="POST" action="receive2.asp"
target="_self">
<input type=text name="creditcard" />
'in the receive2.asp form
<form name="sending3" method="POST" action="formprocessor.asp"
target="_self">'in Form3 (receive2.asp)
<BR> Please confirm the following:<BR>
<input type="text" name="name" value="<% =request("name") %>">
<input type="text" name="creditcard" value="<% =request("creditcard") %>">
'submit
Am I okay passing data from form1 to form2 and then to form3? Will the same data pass? and then will my WindowsNT CDONTS asp formprocessor handle the field names as it does with everything on one page? Also, will the input tpe "text" instead of hidden show the <% request (so I can do a verify before submittal)? And lastly, will the receive2.asp and receive.asp pages allow me to add an additional form to interface with, or how do I make that work?
Thanks to all
<form name="sending" method="POST" action="receive.asp"
target="_self"> //in Form1 (sendform.htm)
<input type="hidden" name="form_field" value="<% =request("form_field") %>">//in the receive.asp form
----------------------------------------------------------------
I want to stay with this method because the info I pass on I don't want seen.(not right away anyway.)
If I want a form where the first part is personal info, second purchase & cc info and the third a confirmation before emailing and posting my data to a database, am I right to assume the following:
'from the sendform.asp
<form name="sending" method="POST" action="receive.asp"
target="_self"> 'in Form1 (sendform.htm)
<input type=text name="name" />
'in the receive.asp form:
<input type="hidden" name="name" value="<% =request("name") %>">
<form name="sending2" method="POST" action="receive2.asp"
target="_self">
<input type=text name="creditcard" />
'in the receive2.asp form
<form name="sending3" method="POST" action="formprocessor.asp"
target="_self">'in Form3 (receive2.asp)
<BR> Please confirm the following:<BR>
<input type="text" name="name" value="<% =request("name") %>">
<input type="text" name="creditcard" value="<% =request("creditcard") %>">
'submit
Am I okay passing data from form1 to form2 and then to form3? Will the same data pass? and then will my WindowsNT CDONTS asp formprocessor handle the field names as it does with everything on one page? Also, will the input tpe "text" instead of hidden show the <% request (so I can do a verify before submittal)? And lastly, will the receive2.asp and receive.asp pages allow me to add an additional form to interface with, or how do I make that work?
Thanks to all