An email form validator script.
It doesn't require a Sendmail script, the message will be sent through the
default email program of the sender.
EXAMPLE
1) Insert this script in the <HEAD> section of your page.
2) Insert this complete form in the
<BODY> section where you want the form to appear in your page.
4) In the script you can either increase or decrease the amount of fields to be validated in the form depending on your need. For example:
if (document.signup.firstname.value == "") {
alert("Please fill in your first name.")
document.signup.firstname.focus()
return false}
if (document.signup.lastname.value == "") {
alert("Please fill in your last name.")
document.signup.lastname.focus()
return false}