American Flag - Pray for our women and men in the armed forces. AGoodWeb.com for Design, Hosting and Programming

The Amazing Javascript Form Verifier Generator ™ compliments of AGoodWeb.com
CREATE A FORM WHICH ALERTS PEOPLE TO FILL OUT ALL REQUIRED FIELDS WHICH YOU CHOOSE!

This was too cool and time-saving for me to hoard it all to myself! I wrote it and want to share it with you! You can use it for FREE.

This will create javascript code to place in the head section of your page which will verify that the required fields (that you specify) are filled out in the form. Works for text fields, radio buttons, checkboxes and email addresses.

You can create your form first or just know the order in which your fields will appear on the form. OR Let the script create the whole form for you! Answer the questions below and click "Go to Step 2", then fill out the next page and click "Generate". You can pick up your code and copy it to the head section of your form page.

Let us begin... STEP ONE
1.
Brief PURPOSE of your form:
2.
URL to your WEBSITE:

format http://www.mysite.com
3.
URL to your FORM (if you know it):

format http://www.mysite.com/pathto/myform.htm
4.
Your EMAIL ADDRESS:
5.
ALERT TEXT:
What text do you want to appear in the one alert box which will list all the fields they need to fill in?
Example: "You have missed filling in the following required fields:"
6.
HOW MANY FIELDS do you have?
Count any text fields, text boxes and checkboxes as one each. Count all hidden fields. (Hidden fields should come first after the form tag.) Also count each radio button. ALL FIELDS.
(Best to be exact but overestimate rather than underestimate)
fields
7. Name you would like to call your form (this does not appear on your page, only in your code. Useful if you are building more than one form per page.

default if you do not fill this out is "form"

8. OPTIONAL - FILL OUT THIS SECTION IF YOU WISH US TO MAKE THE WHOLE FORM PAGE FOR YOU, FIELDS AND ALL!
You can create just the javascript to paste into your head section of your-already-made page OR we can make up the html for THE WHOLE FORM PAGE for you!

OPTIONAL SECTION
A. CREATE THE WHOLE FORM PAGE for me please!
B. Background color for your page:
#

white - #FFFFFF misty rose - #FFE4E1
cornsilk - #FFF8DC aquamarine - #7FFFD4
lemon chiffon - #FFFACD light steel blue - #B0C4DE
lavendar - #E6E6FA skyblue - 87CEEB
pink - #FFC0CB deep skyblue - #00BFFF

C. Method for your form (GET or POST, leave blank if you do not understand this and it will be defaulted to POST).
D. What do you want on your Submit button? Example, you could have "GO" or "Submit" or "Click here", etc.
D. Form action - where do you want your page to go after the person clicks the submit button?
Example: "http://www.mysite.com/cgi-bin/Webformmail.cgi"
OR perhaps" ../cgi-bin/formmail.pl" DO NOT USE THE OUTER QUOTES PLEASE.

 

AGoodWeb.com ©2000 All Rights Reserved
Email: The Administrator
css ^