Be kind to me as I'm not very clever on this sort of thing , however I'm
okay
on basic html .
I have a script below which I got from a free source.
I need a way to check the first address is the same as the second
one entered, and post an alert if not.
I hope you understand what I'm aiming at? Thanks in advance of any help
Steve
=============== =============== =============== =============== ==
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<! Form Processing, by 'name removed'. Hosted CGI, with NO adverts
and FREE. http://www.name removed.com -!>
<form method=POST name="contact" onSubmit="retur n validate()"
action="http://www.name removed.com/cgi-bin/formprocessing/forms.pl">
<input type="hidden" name="username" value="my_user_ name">
<input type=hidden name="activenum ber" value="88888888 8">
<table>
<tr>
<td>
<table>
<tr>
<td>Email <span class="rederror "></span></td>
<td> <input type="text" name="Email" value="" size="40">
</td>
</tr>
<tr>
<td>Email2 <span class="rederror "></span></td>
<td> <input type="text" name="Email2" value="" size="40">
</td>
</tr>
<tr>
<input type="submit" name="Submit" value="Send Contact
Request" class='buttonSm all'></td>
</tr>
</table>
</form>
<script language="JavaS cript">
<!-- Begin
function validate(){
if (document.conta ct.Email.value= ="") {
alert("Oops! Please enter your EMAIL ADDRESS.")
return false
}
return true
}
// End -->
</script>
</body>
</html>
okay
on basic html .
I have a script below which I got from a free source.
I need a way to check the first address is the same as the second
one entered, and post an alert if not.
I hope you understand what I'm aiming at? Thanks in advance of any help
Steve
=============== =============== =============== =============== ==
<HTML>
<HEAD>
<TITLE></TITLE>
</HEAD>
<! Form Processing, by 'name removed'. Hosted CGI, with NO adverts
and FREE. http://www.name removed.com -!>
<form method=POST name="contact" onSubmit="retur n validate()"
action="http://www.name removed.com/cgi-bin/formprocessing/forms.pl">
<input type="hidden" name="username" value="my_user_ name">
<input type=hidden name="activenum ber" value="88888888 8">
<table>
<tr>
<td>
<table>
<tr>
<td>Email <span class="rederror "></span></td>
<td> <input type="text" name="Email" value="" size="40">
</td>
</tr>
<tr>
<td>Email2 <span class="rederror "></span></td>
<td> <input type="text" name="Email2" value="" size="40">
</td>
</tr>
<tr>
<input type="submit" name="Submit" value="Send Contact
Request" class='buttonSm all'></td>
</tr>
</table>
</form>
<script language="JavaS cript">
<!-- Begin
function validate(){
if (document.conta ct.Email.value= ="") {
alert("Oops! Please enter your EMAIL ADDRESS.")
return false
}
return true
}
// End -->
</script>
</body>
</html>
Comment