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.
157909 : 2563
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.
68512 : 902
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.
54911 : 328
Field Clear Script
This script clears a text box when it is clicked on.
52866 : 799
Dynamic Title Adding Script
This script lets a visitor change a piece of text on your page.
48427 : 3089
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.
46677 : 587
Select All Script
This script selects all the content in a scrolling textbox.
45385 : 520
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.
38514 : 374
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.
35343 : 73
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
13203 : 324
Auto Greeting
You can put this in your web page to greet your site visitors according to their local time.
11506 : 256
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.
11497 : 148
Auto Text Converter
This script will automatically and repeatedly write text into a input field.
10676 : 62
Clear Form onFocus()
This script clears the content out of a form field onFocus().
6134 : 135
Last Updated
Automaticly update the date when you have changed the content of you web page.
4186 : 51
Colours
It changes your background colour every day
4062 : 153
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.
2370 : 55
Simple Calculation Minus
Simple Calculation Minus : LENGHT DIVIDING
2310 : 36
Remove Duplicates From List
Remove duplicates from any list.
1898 : 31
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.
1852 : 12
Go To Link onClick of Radio Button
This script allow user to go on a link page after a radio button is clicked.
580 : 2
Clear Form Field Value on Click
Clear the value in a form field when a user clicks into it.
401 : 3
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.
327 : 12
Drop Down Messages
Show messages based on selected item from drop down menu.
326 : 10
Random Quote in Form Box
Get a random quote an insert it into a form box.
321 : 24
Jump To Next Field When Maxlength Reached
Move to the next field when the maximum length has been reached.
316 : 5
Copy Selected Text
Use this script to copy selected text.
314 : 0
Check for Max Number of Words
Check input box for the maximum number of words.
298 : 1
Check for Max Number of Characters
Check for the maximum number of characters allowed.
287 : 0
Undeletable Text
Make text undeletable with this javascript.
261 : 1
Select Entire Field Value
Select the value of an entire field.
260 : 0
Sort Contents of Table
A javascript to sort the contents of a table.
241 : 1