GO BACK!

Email Form Validator Script

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

FIRST NAME

LAST NAME

SITE URL
DESIRED USER NAME
DESIRED PASSWORD
SECONDARY USER NAME
SECONDARY PASSWORD
MAILING ADDRESS
CITY
STATE
ZIP CODE
EMAIL ADDRESS
     


1)
Insert this script in the <HEAD> section of your page.

then copy & paste!

2) Insert this complete form in the <BODY> section where you want the form to appear in your page.

then copy & paste!

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}

Inside the form tags:

Assign the appropriate name to the textbox:

Sample <input type="text" size="10" name="sample">

Insert the appropriate e-mail address into the action tag:

<form action="mailto:email@plradult.com" onsubmit="return checkData()" enctype="text/plain" method="POST"  name="signup">
</form>


[BACK] [TOP]


image
image

All Rights Reserved
Privatelabelresources.com © 1999, 2000, 2001, 2002 & 2003

WEBSITE DESIGNED BY: GRAPHICS MASTER XXX