<FORM NAME="sample" METHOD=POST
ACTION="/cgi-bin/homestead/mail.pl?member_name">
Enter your name : <INPUT TYPE=TEXT NAME="yourname" SIZE=30><BR>
Enter your age : <INPUT TYPE=TEXT NAME="yourage" SIZE=3><BR>
Date of birth : <INPUT TYPE=TEXT NAME="yourdob" SIZE=10><BR>
<INPUT TYPE=SUBMIT> <INPUT TYPE=RESET>
</FORM>
<SCRIPT LANGUAGE="JavaScript">
<!-- Hide code from non-js browsers
function validateForm1()
{
formObj = document.sample;
if ((formObj.yourname.value == "") ||
(formObj.yourage.value == "") ||
(formObj.yourdob.value == "")) {
alert("You have not filled in all the fields.");
return false;
}
else
return true;
}
// end hiding -->
</SCRIPT>