webmaster resources tips and articles
javascripts directory

Path = Home : JavaScripts : Free JavaScript Forms

Free JavaScript Forms

Various free javascripts that you can add to forms to make them more helpful to your visitors.

For example, counting how many characters are left in a text area to tell the user how many more characters they can add.


Max number of characters check

A script that checks the number of characters in a form box, and if it exceeds the predetermined number, cancels the form submission, and asks the surfer to re-enter the data.
Browsers: All
Version: N/A
Status: Free with copyright notice

Visit the Author's website        - Is this link dead or broken? -  Report it
( will open in new window )


Double-enter form field

You've probably encountered forms where you're asked to double-enter a field, such as the email or password field. This provides confirmation on the accuracy of the input. Well, use this script to add such a functionality to your forms. It cross checks any two fields to ensure they are:
1) Not blank
2) More importantly, that the two inputs are identical.
If either of the above conditions are not met, an alert message prompts up, and the submission process is halted.
Browsers: All
Version: N/A
Status: Free with copyright notice

Visit the Author's website        - Is this link dead or broken? -  Report it
( will open in new window )


Current date in form

If you have a "Today's Date" field in your form, why not let JavaScript automatically fill it in for your visitors? Easily configurable to show the date in desired order of month, day, and year.
Browsers: All
Version: N/A
Status: Free with copyright notice

Visit the Author's website        - Is this link dead or broken? -  Report it
( will open in new window )


Character count

Calculate and display the number of characters within a TEXTAREA with this script. Useful, for example, in helping your visitors manually keep their input length in check!
Browsers: All
Version: N/A
Status: Free with copyright message

Visit the Author's website        - Is this link dead or broken? -  Report it
( will open in new window )


Accept Terms & Conditions

Add an "Accept Terms & Conditions" clause to your form with this script. With it, users must explicitly signal their acceptance of your terms/conditions (by checking a box), before he/she can submit the form.
Browsers: All
Version: N/A
Status: Free with copyright notice

Visit the Author's website        - Is this link dead or broken? -  Report it
( will open in new window )


 

 

© janim.net 2000 - 2007 All rights reserved