I hope this is the right place for this cos it's Perl, HTML and JavaScript!
I have an initial HTML Form with the following:
-------------------------------------------------
<form action="cgi-bin/Apply.pl" name="ApplyForm" method="POST">
<input type="hidden" name="Page" value="1">
.
.
<a href="#" onClick="doValForm1()">Continue</a>
-------------------------------------------------
The Js validation works and I then drop into the Perl script where I generate Form 2 with the following included:
-------------------------------------------------
<form action="Apply.pl" name="ApplyForm" method="POST">
<input type="hidden" name="Page" value="2">
.
.
<a href="#" onClick="doValForm2()">Continue</a>
-------------------------------------------------
When clicking on Continue on the 2nd Form no validation is carried out and all I get is a refresh of the currently displayed form.
Please help
I have an initial HTML Form with the following:
-------------------------------------------------
<form action="cgi-bin/Apply.pl" name="ApplyForm" method="POST">
<input type="hidden" name="Page" value="1">
.
.
<a href="#" onClick="doValForm1()">Continue</a>
-------------------------------------------------
The Js validation works and I then drop into the Perl script where I generate Form 2 with the following included:
-------------------------------------------------
<form action="Apply.pl" name="ApplyForm" method="POST">
<input type="hidden" name="Page" value="2">
.
.
<a href="#" onClick="doValForm2()">Continue</a>
-------------------------------------------------
When clicking on Continue on the 2nd Form no validation is carried out and all I get is a refresh of the currently displayed form.
Please help