Javascript Forms
Javascripts > Javascript Forms
Scripts ordered by popularity. Newest scripts at the bottom.
Email Address Validation Script
Scan email addresses to make sure that the email address entered into the textbox contains valid characters.
251241 : 4976
Field Clear Script
This script clears a text box when it is clicked on.
96335 : 1525
Parse Number to Currency Format
This is a handy script for forms that contain money values. It automatically parses the form element of your choice whenever a surfer enters a number into the standard currency format.
77780 : 388
Select All Script
This script selects all the content in a scrolling textbox.
74477 : 635
Combo Jump Script
This script allows you to display a list of site titles in a combo box and allows the user to select one and go to it.
74039 : 927
Dynamic Title Adding Script
This script lets a visitor change a piece of text on your page.
55375 : 3164
Input Box Restrictions
This form validation JavaScript restricts the number of characters allowed inside an input field. Great for preventing people from overloading the form.
55043 : 656
Select One 2
This scripts demonstrates how I limited only one selection by deselecting all others and how you can retrieve the value of the box you are selecting.
45689 : 416
FormCheck
FormCheck is a generic script which will check and verify that mandatory fields are filled in before form submission. If one or more of the required fields are empty. A popup dialog will appear showing the omitted fields.
43832 : 74
EMail Address Verification
If you ask for the e-mail address to the user in any textfield on a form, this script verifies whether the text entered in the field is in the format user@domain.com
29250 : 594
Clear Form onFocus()
This script clears the content out of a form field onFocus().
27962 : 450
Dynamic Fields
The script generates a new feild in your form if you want to add more details. It is 100% client side and it uses a pair of cookies to retain its values across calls. The name of the feild goes like field1, field2 etc and can be used to pass values to the web server.I think this will be useful for data like academic qualifications.
19635 : 170
Auto Greeting
You can put this in your web page to greet your site visitors according to their local time.
16486 : 287
Go To Link onClick of Radio Button
This script allow user to go on a link page after a radio button is clicked.
15243 : 70
Auto Text Converter
This script will automatically and repeatedly write text into a input field.
14359 : 72
Clear Form Field Value on Click
Clear the value in a form field when a user clicks into it.
12572 : 118
Remove Duplicates From List
Remove duplicates from any list.
12478 : 91
Last Updated
Automaticly update the date when you have changed the content of you web page.
12304 : 87
Simple Calculation Minus
Simple Calculation Minus : LENGHT DIVIDING
9172 : 90
Code Box Editor
Tiny javascript which can be added to any webpage or blog and allows you to present your html, javascript & css code to your visitors in a more functional way, allowing them to play with & preview codes right on the same page.
7451 : 87
Colours
It changes your background colour every day
6628 : 165
Jump To Next Field When Maxlength Reached
Move to the next field when the maximum length has been reached.
5110 : 47
Editable Select Box
With the Editable Selectbox control, you can add, edit, delete, and even sort the options in a selectbox. Upon submission, it not only sends the selected item, but also all the other items in the order they appear, encoded in a hidden field.
4725 : 19
Drop Down Messages
Show messages based on selected item from drop down menu.
4470 : 587
Copy Selected Text
Use this script to copy selected text.
4038 : 9
Disable the Enter Button on Form
This script disable the [Enter] key when pressed inside chosen fields of your choice. Try filling out the text fields below and pressing [Enter]. Notice how instead of submitting the form, the cursor is instead advanced to the next field.
3881 : 310
Check for Max Number of Characters
Check for the maximum number of characters allowed.
3327 : 10
Random Quote in Form Box
Get a random quote an insert it into a form box.
3222 : 39
Sort Contents of Table
A javascript to sort the contents of a table.
3196 : 163
Check for Max Number of Words
Check input box for the maximum number of words.
3186 : 6
Undeletable Text
Make text undeletable with this javascript.
2896 : 6
Select Entire Field Value
Select the value of an entire field.
2888 : 9