Im going to try to ask this question in the simplest way I know how.
This is my data entry form called dataentry.html
<HTML>
<HEAD>
<TITLE>Sample Data Entry Confirmation</TITLE>
</HEAD>
<FORM METHOD="POST" action="
http://us.2.p11.webhosting.yahoo.com/forms?login=me123>
Enter your Name:<BR>
<INPUT TYPE=text NAME="name" SIZE = 40 MAXLENGTH=40><BR>
Enter Your E-mail address:<BR>
<INPUT TYPE=text NAME=email_addr SIZE = 40 MAXLENGTH=40><BR>
How long have you lived in town?<br>
<INPUT TYPE=num NAME="reside" SIZE=3 MAXLENGTH=3>
Enter the subject of your message:<BR>
<INPUT TYPE=text NAME="email_subject" SIZE = 40 MAXLENGTH=40>
<P>
Enter your comments, questions and/or suggestions in the space below:<BR>
<TEXTAREA NAME=comments ROWS=12 COLS=60 MAXLENGTH=3000></TEXTAREA>
</P>
<P>
<INPUT TYPE="submit" VALUE="Submit Comments">
<INPUT TYPE="reset" VALUE="Clear Form">
<INPUT TYPE=hidden NAME=form_name VALUE=confirm>
<INPUT TYPE=hidden NAME=userid VALUE=webcom>
</P>
</FORM>
</BODY>
</HTML>
This is my confirmation page: confirm
<HTML>
<HEAD>
<TITLE>Confirm Input</TITLE>
<BODY>
<H1>Confirm Input</H1>
<P>Please confirm that the data you have entered is correct!</P>
<FORM METHOD="POST" ACTION="
http://www.webcom.com/cgi-bin/form">
Your Name: <B>cher</B><BR>
<INPUT TYPE=hidden NAME="name" VALUE = ""><BR>
Your E-mail address: <B>me123@yahoo.com</B><BR>
<INPUT TYPE=hidden NAME=email_addr VALUE = ""><BR>
The subject of your message: <B>Why</B><BR>
<INPUT TYPE=hidden NAME="email_subject" VALUE ="">
<P>
Your comments, questions and/or suggestions:<BR>
<PRE>
<B>Im frustrated</B>
</PRE>
<INPUT type=HIDDEN NAME=comments VALUE="">
</P>
<P>
<INPUT TYPE="submit" VALUE="Submit Confirmed Comments">
</P>
</FORM>
</BODY>
</HTML>
1. I would like the results from my dataentry.html to go to 1)my email address 2)confirm.html. how would I code this and where would the code go?
2. Based on the parameter"Reside" if its value is 3, I want the applicant to be redirected to an approval page(approval.html), if its not equal to 3, redirection would be to a denial page(denial.html). This should happen after the results of the application have been confirmed in confirm.html. how would I code this and where would it go?