Get Free Whitepapers from the BMC CONTROL-M Showcase on Earthweb
Whitepaper
Business Integrated Scheduling for Banking and Finance
RFG Report
IT Empowered Job Scheduling and Batch Management
Whitepaper
Business Integrated Scheduling: An Innovative Look at the Scheduling Challenges
Whitepaper
Empowering the NetWeaver Solution
The JavaScript Source - Cut and Paste JavaScript Library
Home
New Scripts
Master List
Tutorials
BG Effects
Buttons
Calculators
Calendars
Clocks
Cookies
CSS
Equivalents
Forms
Games
Generators
Messages
Miscellaneous
Navigation
Page-Details
Pass. Prot.
Scrolls
Snippets
User-Details
Shopping
Script Count:  2274
internet.com 
Navigation Menu
Site Contents
What's New?
A-Z Script List

Site FAQ
About JSS
Message Forum
JavaScript Tutorial
Friends of JSS

Link to Us
JavaScript help
Contribute a script

Internet.commerce

Be a Commerce Partner
Memory Flash Cards
T-Shirts
Racks
Online Universities
Data Recovery
Televisions
Mortgage Refinance
Register Domain Name
Cheap Airline Tickets
Degrees On-Line
Hosting
Laptop Computers
Merchant Accounts

Internet.com

Developer
Downloads
International
Internet Lists
Internet News
Internet Resources
IT
Linux/Open Source
Personal Technology
Small Business
Windows Technology
xSP Resources
Search internet.com
Advertise
Corporate Info
Newsletters
Tech Jobs
E-mail Offers

Developer Channel

FlashKit.com
HierMenusCentral.com
JavaScript.com
JavaScriptSource
Jobs
ScriptSearch
StreamingMediaWorld
Web Developer's Journal
Web Developer's Virtual Library
WebDeveloper.com
Webreference
Web Hosts
XMLfiles.com



Great Sites:
DocJavaScript.com
dhtml.com
The Freebie Directory
TheFreeSite.com

Browse Doc JS's Tips!


Hiermenus Central


Promotions

Free Announcements


Jobs.WebDeveloper.com

Symantec Resource Center
Check Out These Exclusive Pre-Recorded Webcasts from Gartner and Symantec
Protect the Integrity and Availability of your Company's Information
Learn the key to ensuring a highly available and resilient infrastructure.

Getting a Handle on IT Assets
Make sure your IT infrastructure remains secure, available, and compliant with corporate standards.

Overcoming Today's Client Management Issues
Learn how greater controls and consistency across your IT infrastructure can help ensure that your client devices are secure, available, and compliant with corporate standards.

Ensure a Secure Computing Environment Using Effective Patch Management
Find out how effective patch management can help ensure that your computers remain secure and available.

e-Newsletters
JavaScript Weekly
find a web host with:
CGI Capabilities
MySQL
Windows Hosting
Unix Hosting
Telnet/SSH
Sun Solaris
advanced search
Search Clipart.com:



Home } Forms } Index

These scripts all deal with Javascript forms. I'll show you some really neat forms that keep you from receiving bogus information as well as others that are just fun to play with (test personal info). As always, we're here if you have any questions or comments. General questions about form scripts here should be posted to The JavaScript Forum.


More on internet.com

Title: ABA Routing Number Checksum
Contributor: David Leppek
Contributor URL: http://www.azcode.com/ABA
Details: 2.61 KB * Uploaded November 14 2005
Description: This script will validate an ABA routing number according to a given algorithm. (Although the number may be valid, it may not be actually assigned to a financial institution.)

[ Get Source Code ]


Title: Accept Terms
Contributor: Colin PC
Contributor URL: http://www.insighteye.com
Details: 0.96 KB * Uploaded May 21 2001
Description: This Script allows your visitors or customers to accept your terms and conditions before proceeding by ticking a Check Box. If they don't agree, an exit box on the form takes them back to the home page.

[ Get Source Code ]


Title: Adding HTML Controls
Contributor: Husay (budfoxone@gmail.com)
Contributor URL: http://www.communitxt.net
Details: 1.74 KB * Uploaded July 13 2005
Description: Use this script to add HTML controls to your forms. This example uses the <input> tag.

[ Get Source Code ]


Title: Adding Options
Contributor: Rick Johnson (frj11@yahoo.com)
Contributor URL: http://www.vistaviews.net/myPage/
Details: 2.15 KB * Uploaded August 3 2005
Description: Use this script to add or change options on a form select menu. Clean and simple. Includes comments.

[ Get Source Code ]


Title: Agree Before Entry
Details: 1.12 KB * Uploaded October 28 1999
Description: JavaScript will only let you enter your name in this form if you indicate you agree to the terms by first clicking the I Agree radio button. If you agree, you can enter your name. But, if you disagree, you will not be able to enter or edit your name. When you disagree, the box is 'locked.' Useful if you require your visitors to accept a disclaimer before downloading software or visiting a section of your members-only site.

[ Get Source Code ]


Title: AIM Message
Contributor: Tony Marinaro (me1054@yahoo.com)
Contributor URL: http://la_cruz.tripod.com
Details: 1.87 KB * Uploaded June 4 2001
Description: Send messages to anyone using AOL Instant Messenger. Cool!

[ Get Source Code ]


Title: All Lower Case
Details: 0.55 KB * Uploaded August 10 1999
Description: Converts a textbox entry to all lowercase letters as soon as they move to the next item in the form (or click the submit button).

[ Get Source Code ]


Title: All Upper Case
Details: 0.55 KB * Uploaded August 9 1999
Description: Converts a textbox entry to all capital letters as soon as they move to the next item in the form (or click the submit button).

[ Get Source Code ]


Title: Anywhere Mail
Details: 1.02 KB * Uploaded August 4 1997
Description: Use this script to allow visitors to mail anyone, at any time.

[ Get Source Code ]


Title: Auto Currency
Contributor: Mario Costa (mariocosta@openlink.com.br)
Details: 1.95 KB * Uploaded May 11 2001
Description: Inserts the proper seperators to automatically format any currency field.

[ Get Source Code ]


Title: Auto Drop Down
Contributor: Jerome Caron (jerome.caron@globetrotter.net)
Details: 4.15 KB * Uploaded March 23 2001
Description: Automatically adjusts the values in the selection box depending on the item selected in the drop down menu. Awesome!

[ Get Source Code ]


Title: Auto Email Link
Contributor: CodeLifter.com (support@codelifter.com)
Contributor URL: http://www.codelifter.com
Details: 1.69 KB * Uploaded February 21 2001
Description: Automatically opens a new e-mail using your default e-mail client and fills in the subject line and body with the address of the current web page. Neat!

[ Get Source Code ]


Title: Auto Fill
Contributor: Vladimir Geshanov
Contributor URL: http://hotarea.com/
Details: 2.84 KB * Uploaded April 11 2005
Description: Set a text field value in one window by entering text in another window.

[ Get Source Code ]


Title: Auto Month
Contributor: Don Demrow (d1102@home.com)
Contributor URL: http://resume.w3site.com
Details: 1.74 KB * Uploaded February 5 2001
Description: This pulldown menu will automatically adjust the range of months so that the current month is at the top. The remaining months are placed in order after the current month.

[ Get Source Code ]


Title: Auto-Sum Form Boxes
Contributor: Jim Stiles
Contributor URL: www.jdstiles.com
Details: 1.25 KB * Uploaded May 13 2005
Description: This script will automatically total boxes in a form. Use this to keep a running total of quantites or prices in an order form.

[ Get Source Code ]


Title: Auto Tab
Contributor: Cyanide_7 (leo7278@hotmail.com)
Contributor URL: http://www7.ewebcity.com/cyanide7
Details: 1.68 KB * Uploaded April 21 2000
Description: Automatically sets focus to the next form element when the current form element's maxlength has been reached. This way, the user does not have to manually click in or tab to the next field. This script is perfectly suited for constant-length strings such as a phone number or social security numbers. Nice!

[ Get Source Code ]


Title: Auto Year
Contributor: Don Demrow (d1102@home.com)
Contributor URL: http://resume.w3site.com
Details: 1.09 KB * Uploaded January 25 2001
Description: This pulldown menu will automatically adjust the range of years depending on the current year. As an added bonus, the range is easily modified. Awesome!

[ Get Source Code ]


Title: Basic Validation
Contributor: wsabstract.com
Details: 1.41 KB * Uploaded April 14 1999
Description: The simplest way to require visitors to fill out certain fields is to us this script - just add the word "required" to each required field's name and your visitor must fill it out to submit the form! Neat!

[ Get Source Code ]


Title: Binary Operators and CheckBox
Contributor: Victor Cuervo (victor@aulambra.com )
Contributor URL: http://www.aulambra.com
Details: 2.26 KB * Uploaded January 25 2003
Description: This script is a good example of the use of binary operations with check boxes to obtain a single number which is the binary representation of the selected check boxes. There is also a button to show you your selections in text form.

[ Get Source Code ]


Title: Bitmap/Object Script
Contributor: Fernando Rios (test118@hotmail.com)
Contributor URL: http://www15.brinkster.com/hxedit
Details: 3.58 KB * Uploaded November 3 2004
Description: This example demonstrates the use of bitmasking to store values in a single variable and how to use objects with JavaScript.

[ Get Source Code ]


Title: Block Key Press
Contributor: Jeremy Wollard (wollard@flash.net)
Details: 0.99 KB * Uploaded July 13 2000
Description: (Internet Explorer Only) Using the OnKeypress event, you can trap and prevent certain characters (repesented by ASCII decimal codes) from being entered in a form field. Just look up the ASCII code for any other characters you wish to block and add it to the script. Unfortunately, Netscape does not support this same functionality.

[ Get Source Code ]


Title: Block Key Press 2
Contributor: Jeremy Wollard (wollard@flash.net)
Details: 1.92 KB * Uploaded July 14 2003
Description: Tired of customers using characters that could possibly render your forms uselss. This script prevents a form user from adding certain special characters in the character fields.

[ Get Source Code ]


Title: Category Form Script
Contributor: Vladimir Geshanov
Contributor URL: http://hotarea.com
Details: 2.79 KB * Uploaded March 20 2004
Description: When an item from the first menu categories are selected a different set of items in the second menu are loaded.

[ Get Source Code ]


Title: Category Selection
Contributor: Michele Bracci (michele@againstwhat.it)
Contributor URL: http://www.againstwhat.it
Details: 3.41 KB * Uploaded January 3 2002
Description: After choosing a main category, a subcategory opens in a popup select menu. The final selection will be shown in a read-only text field. IE only.

[ Get Source Code ]


Title: Character Counter
Contributor: Steve
Contributor URL: http://jsmadeeasy.com/
Details: 3.19 KB * Uploaded March 28 2005
Description: Use this script to limit the number of characters allowed in an input box. It will count the number of characters left in the box and display it below. Easy to modify.

[ Get Source Code ]


Title: Check All
Contributor: Nannette Thacker
Contributor URL: http://www.shiningstar.net
Details: 1.39 KB * Uploaded April 28 2000
Description: Dynamically checks and unchecks all the checkboxes in a form when a button is clicked. Much easier than manually hard-coding the checkbox names, for sure.

[ Get Source Code ]


Title: Check All Toggle Switch
Contributor: Hillel Aftel
Details: 1.27 KB * Uploaded November 30 2005
Description: This script adds the "check all" function to a form. Short and easy to use!

[ Get Source Code ]


Title: Check by Group
Contributor: Mike Elkins (m_c_elkins@hotmail.com)
Details: 2.87 KB * Uploaded November 27 2001
Description: By utilizing a dropdown box, a user can check groups or subgroups of checkboxes.

[ Get Source Code ]


Title: Check Cap Locks
Contributor: jgw (jgwang@csua.berkeley.edu )
Contributor URL: http://www.csua.berkeley.edu/~jgwang/
Details: 1.71 KB * Uploaded March 6 2002
Description: If a user enters his password in a Web-based form with Caps Lock accidentally on, he can become frustrated because his password is not being accepted... and he may assume the application is the source of the problem. This JavaScript function will let the user know his Caps Lock is on and about the potential for error.

[ Get Source Code ]


Title: Check Entry
Details: 0.95 KB * Uploaded September 8 1999
Description: Prevents the user from selecting a filename with a space (known to cause problems with some CGI-scripts). The visitor are informed that the field can not have spaces. Of course, you could change the character it checks for as well as the invalid alert message to something else to suit your needs. Nice!

[ Get Source Code ]


Title: Check Form
Contributor: Chris van Marle (C.A.vanMarle@inter.NL.net)
Contributor URL: http://www.chrisworld.org
Details: 2.25 KB * Uploaded May 9 2001
Description: This form validation script will place a check in the checkbox next to a textbox in a form if the enty is valid. Includes basic form validation. Cool!

[ Get Source Code ]


Title: Checkbox Changer
Details: 1.94 KB * Uploaded July 27 1999
Description: Takes a series of known named checkboxes and checks or uncheck them all at once. It can even change each checkbox to the opposite checked or not checked value. Clever for loops!

[ Get Source Code ]


Title: Checkbox Counter
Contributor: Alan Gruskoff (alan@performantsystems.com)
Contributor URL: http://www.performantsystems.com/
Details: 1.60 KB * Uploaded November 28 2000
Description: Easily count the number of checkboxes that have been selected. Easy!

[ Get Source Code ]


Title: Checkbox Text
Contributor: trs2005@yahoo.com (trs2005@yahoo.com)
Details: 0.97 KB * Uploaded July 20 2000
Description: (Internet Explorer Only) The user no longer needs to click precisely on the checkbox to check and uncheck it. Clicking the text after a checkbox can do this just like windows programs.

[ Get Source Code ]


Title: Checkbox Text
Contributor: Avi Kehat (avik@iname.com)
Details: 1.09 KB * Uploaded May 16 2001
Description: The user no longer needs to click precisely on the checkbox to check and uncheck it. Clicking the text after a checkbox can do this just like windows programs.

[ Get Source Code ]


Title: Commas
Contributor: Mark Henwood (mark_henwood@hotmail.com)
Details: 1.51 KB * Uploaded January 2 2001
Description: Quickly add commas to any numerical form input. Great for displaying large numbers!

[ Get Source Code ]


Title: Confirmable Order Form
Details: 4.79 KB * Uploaded July 15 1999
Description: JavaScript can take the contents of an HTML order form, process them, and display the order for verification even including the grand total! When the user confirms the order by clicking the button, the order is emailed to you by using freedback.com's free form processor cgi script. This script does take a bit of modification, but surely is worth it if you sell anything online.

[ Get Source Code ]


Title: Copy Contact Info
Contributor: gfgraves@gfgraves.com (Gabe Graves)
Contributor URL: http://www.gfgraves.com
Details: 1.59 KB * Uploaded October 14 2002
Description: This script lets users enter there information & copy it to a different form on the same page.

[ Get Source Code ]


Title: Controlled Boxes
Contributor: Scott Waichler
Details: 1.78 KB * Uploaded June 25 1999
Description: This script allows checkboxes to check and uncheck based on the selection in another checkbox. If the ALL box is checked, all the other choices go unchecked. If another choice is checked, then the ALL box goes unchecked. Useful when constructing search forms, surveys, and more!

[ Get Source Code ]


Title: Cookie Form Saver
Contributor: Nick Baker
Details: 5.43 KB * Uploaded June 10 2002
Description: This script uses cookies to save information from a form and repopulate the form the next time the user visits.

[ Get Source Code ]


Title: Copy Fields
Details: 8.75 KB * Uploaded November 10 1999
Description: Allows the user to click a checkbox on a form to duplicate information. For example, they can copy their billing information into the shipping information fields (assuming they are the same) with one click! Another useful timesaver for your visitors!

[ Get Source Code ]


Title: Copy Name
Details: 0.53 KB * Uploaded September 14 1999
Description: Allows the user to enter their name in the first field and have copies it to the second field for use as the User ID. It occurs instantly when they click the next field or the submit button. And, if the user tries to modify the second field, it is changed back to the value of the name field. Definitely a good example of the onChange() event handler in use.

[ Get Source Code ]


Title: Country Chooser
Details: 6.08 KB * Uploaded July 24 1998
Description: If you'd like to know where visitors to your site live, add this to your feedback forms. They just choose a region, and the second menu changes appropriately, allowing them to choose their country. (If they choose USA, it allows them to select their state) Neat!

[ Get Source Code ]


Title: Credit Card Number Validation
Contributor: David Leppek
Contributor URL: https://www.azcode.com/Mod10
Details: 4.97 KB * Uploaded November 7 2005
Description: Determine if a credit card number could be valid before submitting it for real-time online authentication. Based on ANSI X4.13, the LUHN formula, aka the Mod 10 algorithm is used to validate accurate credit card numbers. Heavily commented.

[ Get Source Code ]


Title: Currency Format
Contributor: Cyanide_7 (leo7278@hotmail.com)
Contributor URL: http://www7.ewebcity.com/cyanide7
Details: 1.47 KB * Uploaded May 18 2000
Description: This script accepts a number or string and formats it like U.S. currency. Adds the dollar sign, rounds to two places past the decimal, adds place holding zeros, and commas where appropriate. Occurs when the user clicks the button or when they finish entering the money amount (and click into the next field).

[ Get Source Code ]


Title: Customized Window
Details: 2.54 KB * Uploaded July 11 1997
Description: Use Javascript to allow visitors to open a customized window.

[ Get Source Code ]


Title: Day Menu
Details: 1.20 KB * Uploaded October 4 1998
Description: Do you need your visitors to select a day from this month? Here's an excellent way to do so - they get a pulldown menu containing the entire month and the current day is already selected! Cool!

[ Get Source Code ]


Title: Date Selection Form
Contributor: Satish A (sat76to99@yahoo.com)
Details: 2.98 KB * Uploaded September 17 2003
Description: This handy script lets you auto-generate the day and year in a drop down selection as well as validate the date. Add it to your pages that require date validation.

[ Get Source Code ]


Title: Date Sorter
Contributor: Patrick Lewis (gtrwiz@aol.com-NOSPAM)
Contributor URL: http://www.PatrickLewis.net
Details: 2.60 KB * Uploaded October 1 2003
Description: This script will sort an array of dates with the month spelled out. It is done by converting the date into a more manageable format.

[ Get Source Code ]


Title: Decimals Allowed
Contributor: Fred Serry
Details: 1.42 KB * Uploaded October 26 1999
Description: Allows the user to enter a number with up to 2 decimal places in a text box. In other words, 99 is ok, 99.9 is ok, 99.99 is ok, but 99.999 is rejected. You can easily change the number of decimal places that are permitted. (i.e. 1, 2, 3, etc.) For the example, enter a number with up to 2 decimal places then try entering one with more than 2 decimal places.

[ Get Source Code ]


Title: dFilter
Contributor: Dwayne Forehand (dwayneforehand@hotmail.com)
Details: 1.63 KB * Uploaded March 28 2003
Description: This script will easily allow you to add an input mask to a textbox. The mask for a phone number could look like this for example "(###) ###-####". Just give it a try to see it in action!

[ Get Source Code ]


Title: Dictionary
Contributor: ahmad (aiboyrocks@aiboyrocks.com)
Contributor URL: http://www.aiboyrocks.com
Details: 2.07 KB * Uploaded September 20 2001
Description: This script defines English words. You put in the word. It gives you the definition. Easy enough! It also includes a thesaurus.

[ Get Source Code ]


Title: Disable Form Controls
Contributor: Paul McFedries
Contributor URL: http://www.mcfedries.com/
Details: 0.96 KB * Uploaded February 9 2005
Description: Here's a simple form that contains a check box and a text box. Unless the check box is activated, you won't be able to enter anything into the text box.

[ Get Source Code ]


Title: Disable Submit
Contributor URL: http://dynamicdrive.com
Details: 1.33 KB * Uploaded July 5 2000
Description: (Internet Explorer only) When the form is submitted, any submit and reset buttons are disabled. This prevents the user from submitting the form repeatedly, whether by accident or on purpose. The form will just act normally for Netscape users. Great!

[ Get Source Code ]


Title: Dropdown Box Population (Revised)
Contributor: DeWayne Whitaker
Contributor URL: http://www.aecdfw.com
Details: 5.38 KB * Uploaded November 9 2005
Description: Multiple series of dropdown boxes (up to 3) are automatically populated based on previous selection. Revised to work with IE, Netscape, Firefox, and Opera.

[ Get Source Code ]


Title: Dynamic Input
Contributor: Peter Hermus
Contributor URL: http://come.to/speedpete
Details: 1.95 KB * Uploaded September 8 2000
Description: (Internet Explorer Only) Offer a form with as many input boxes that the user selects. After entering the number of boxes, the form is dynamically updated while the rest of the form remains untouched.

[ Get Source Code ]


Title: Dynamic Table
Contributor: Bob Simpson (webmaster@maryjanebrown.net)
Contributor URL: http://maryjanebrown.net/webmaster
Details: 14.46 KB * Uploaded November 3 2000
Description: (Internet Explorer 5+ and Netscape 6+ Only) Enter information into this dynamic table and see the power of W3C-DOM compatible browsers. Absolutely Amazing!

[ Get Source Code ]


Title: Email Address Validation
Contributor: Sandeep Tamhankar (stamhankar@hotmail.com)
Details: 6.98 KB * Uploaded April 4 2001
Description: This is an e-mail address validation function. It allows the usual user@domain syntax, but in addition allows user@[ip] format as well as "User with Spaces"@domain or [ip], all of which are legal syntax, according to W3C. It also checks that the user hasn't done anything silly like having multiple @'s or continuous .'s in the address (e.g. jim@b@c.com and jim@c..b.co.uk).

[ Get Source Code ]


Title: E-mail Address Validation2
Contributor: Anita Sudhakar (admin@smartwebby.com)
Contributor URL: http://www.smartwebby.com/DHTML/email_validation.asp
Details: 2.22 KB * Uploaded August 19 2005
Description: This script verifies the given value as a possible valid e-mail address.

[ Get Source Code ]


Title: E-mail Director
Contributor: Jon Eyrick
Details: 1.27 KB * Uploaded March 2 2005
Description: Use a button or link to send e-mail using the visitor's e-mail program.

[ Get Source Code ]


Title: Email Domain
Details: 1.12 KB * Uploaded April 21 1999
Description: Takes an email address and returns just the domain - the stuff after the "@" sign. We've put it together with a simple WHOIS query, neat!

[ Get Source Code ]


Title: E-Mail This Page
Contributor: Jim Stiles
Contributor URL: http://jdstiles.com/
Details: 1.08 KB * Uploaded May 20 2005
Description: Let your visitors e-mail your Web pages to their friends.

[ Get Source Code ]


Title: Email Validation - Basic
Contributor: Joshua Hayden (Joshua@webbuildersource.com)
Contributor URL: http://webbuildersource.com
Details: 1.07 KB * Uploaded June 28 2001
Description: This is a simple e-mail address validation script. While it is not too sophisticated, it does provide the basic validation function.

[ Get Source Code ]


Title: Encode Special Characters
Details: 1.10 KB * Uploaded August 6 1999
Description: When submitting the form "GET" method, JavaScript can encode special characters with the escape() function. Great! (Enter a nickname or password with some special variables then click 'submit' to see the web address which contains the encoded (%xx) characters.)

[ Get Source Code ]


Title: Enter Key Focus
Contributor: Ritesh Sutaria (aadreja@hotmail.com)
Details: 0.84 KB * Uploaded December 3 2003
Description: Form users can move to next text field by pressing the enter key.

[ Get Source Code ]


Title: Exit Window
Details: 0.64 KB * Uploaded May 15 1998
Description: When a visitor leaves your page, JavaScript can automatically open a new window. Use it to say "thanks for visiting", etc. Very neat! Check it out!

[ Get Source Code ]


Title: Expanding Textbox
Contributor: Robert Khatchadourian (sonic890@hotmail.com)
Details: 1.73 KB * Uploaded May 14 2001
Description: Automatically expands the size of a textbox to fit all of the entered text. Internet Explorer Only.

[ Get Source Code ]


Title: Extended Characters
Contributor: Jeffery P. Sanders (jeff.sanders@centurytel.net)
Contributor URL: http://fp1.centurytel.net/JPS
Details: 2.72 KB * Uploaded May 5 2001
Description: Having trouble remembering the extended character codes? It's now as easy as a press of a button.

[ Get Source Code ]


Title: External JS
Contributor: Jacob Hage (jacob@hage.dk)
Contributor URL: http://www.hagedesign.dk
Details: 6.75 KB * Uploaded August 23 2000
Description: Using an external JavaScript file, simply define the rules for how each field should be validated and you're set. Piece of cake! And since it is it's own .js file, it's easy to use the code on every page of your site. Currently only validates text, numbers and e-mail addresses.

[ Get Source Code ]


Title: Extract Email Addresses
Contributor: Ronnie T. Moore
Details: 1.19 KB * Uploaded September 1 2000
Description: Visitors sometimes include their email address inside the message field when they fill out forms. To deal with this, this script parses through the string and uses a Regular Expression to find then return a comma-separated list of the valid email addresses it finds. Easy!

[ Get Source Code ]


Title: Field Explanation
Details: 2.29 KB * Uploaded January 11 2000
Description: Opens an explanation window to explain the various fields used in a form on your site when the help link is clicked. You can easily explain various form fields will be used on your site, what type of input is required, or any other information you wish to share. They may also type their entry in the popup window and it will be copied into the form. Great!

[ Get Source Code ]


Title: Field Focus
Contributor: John Munn (jrmunn@home.com)
Contributor URL: http://members.home.com/jrmunn
Details: 1.51 KB * Uploaded October 23 2001
Description: A simple and small script to place focus on any form element you want when a page loads.

[ Get Source Code ]


Title: Field Show
Contributor: Vladimir Geshanov
Contributor URL: http://hotarea.com/
Details: 1.37 KB * Uploaded April 1 2005
Description: Use radio buttons to display a field for your users to add input to your forms.

[ Get Source Code ]


Title: File Open
Contributor: Hoop Hooper (hooper119@aol.com)
Contributor URL: http://www.angelfire.com/pa3/muddas
Details: 1.09 KB * Uploaded June 5 2001
Description: This script allows someone to choose a file on their hard drive and open it. Now cross-browser compatible.

[ Get Source Code ]


Title: First Form Field
Contributor: Wayne Nolting (wayne@dtg.net)
Details: 1.46 KB * Uploaded March 14 2001
Description: This script places the cursor in the first field of a form when the page loads and when the form is reset or cleared. The script works with input types: text, textarea, radio, checkbox, password and Select drop-down boxes.

[ Get Source Code ]


Title: FilterList
Contributor: Patrick Fitzgerald
Contributor URL: http://www.barelyfitz.com/webdesign/articles/filterlist/
Details: 5.05 KB * Uploaded August 26 2003
Description: Finding one item in a long list can be daunting task. Enter FilterList, with this script you can sort the items alphabetically.

[ Get Source Code ]


Title: Form Field Help
Contributor: Uncle Jim
Contributor URL: http://jdstiles.com/
Details: 2.48 KB * Uploaded January 19 2005
Description: Add a help link to each section in your form. When clicked, an explanation is given of what is required and a box is offered where the information can be entered and transferred to the form.

[ Get Source Code ]


Title: Form Acknowledgement Page
Contributor: Enigman (enigman@ozemail.com.au)
Contributor URL: http://members.ozemail.com.au/~enigman/javascript/js_samples.html
Details: 3.29 KB * Uploaded April 13 2005
Description: This page is called by a Javascript function. The purpose is to inform the visitor that their input has been successfully recorded. A button is provided to enable the visitor to close the window for this page and return to the page that created it.

[ Get Source Code ]


Title: Form Focus
Contributor: Tom Khoury (twaks@yahoo.com)
Details: 1.15 KB * Uploaded October 12 2000
Description: Places the focus on the first editable field in a form on any web page. Efficient!

[ Get Source Code ]


Title: Form Target Formatting
Contributor: Cyanide_7 (leo7278@hotmail.com)
Contributor URL: http://www7.ewebcity.com/cyanide7
Details: 2.27 KB * Uploaded April 11 2000
Description: Allows you to format the target window of a form from the form's target property. This allows for the use of window properties, variables, and other data manipulation to effect these options. Great!

[ Get Source Code ]


Title: Form Screener
Contributor: brainycooldude (brainycooldude2002@yahoo.com)
Details: 2.01 KB * Uploaded October 27 2003
Description: Don't want a certain person to fill out a form? Using this script, those people will be rejected after they put their name in.

[ Get Source Code ]


Title: Format Date
Contributor: Richard Gorremans (RichardG@spiritwolfx.com)
Contributor URL: http://www.spiritwolfx.com/
Details: 14.29 KB * Uploaded February 14 2001
Description: Automatically formats date fields as the user enters the information. Also validates the date when complete date has been entered. Cross browser compatible, including Netscape 6+. Great!

[ Get Source Code ]


Title: Format Input
Contributor: Phillip Bryant (toxic1@fcmail.com)
Contributor URL: http://fly.to/toxic
Details: 2.99 KB * Uploaded December 29 2000
Description: Format the text case inside a form, reverse the text, or see the ASCII code behind the input. Cool!

[ Get Source Code ]


Title: Format Phone Number
Contributor: Roman Feldblum (web.developer@programmer.net)
Details: 2.70 KB * Uploaded January 30 2002
Description: This script will format a telephone number entered into a text box. Numbers can be entered as 1234567890 and will automatically be formatted as (123)456-7890.

[ Get Source Code ]


Title: HTML Preview
Contributor: nsabs@1nsyncfan.com (nsabs@1nsyncfan.com)
Contributor URL: http://www.envy.nu/gjelly
Details: 1.07 KB * Uploaded November 8 2000
Description: Preview HTML in a new window by entering it into the form. This script allows you to pass anything to a new window. Neat!

[ Get Source Code ]


Title: Ignore Spaces
Contributor: Mike McGrath (mike_mcgrath@lineone.net)
Contributor URL: http://website.lineone.net/~mike_mcgrath
Details: 1.30 KB * Uploaded November 19 1999
Description: Removes spaces from a string variable within a script or from user input into a text box. Several different uses are shown on the script example page.

[ Get Source Code ]


Title: Image Upload Preview
Contributor: Abraham Joffe
Contributor URL: http://www.abrahamjoffe.com.au/
Details: 2.43 KB * Uploaded June 29 2005
Description: This script is intended for forms where the user needs to upload an image to a Web site. The image is displayed on the page for previewing before uploading. The display will be resized if needed so as not to break the page layout. Valid file types are set in the script; others will be disallowed. Works only in Internet Explorer but degrades gracefully.

[ Get Source Code ]


Title: Initial Caps
Contributor: William Humphreys (billy@technical-solutions.co.uk)
Details: 1.54 KB * Uploaded January 4 2000
Description: Converts the first letter of each word in a string that the user enters to uppercase. The remaining letters of each word are also changed to lowercase. Very useful when a form requires a title to be submitted in Initial Caps.

[ Get Source Code ]


Title: Input Box Comments
Contributor: Lee Underwood
Contributor URL: http://javascript.internet.com/
Details: 0.67 KB * Uploaded November 2 2005
Description: Display a few words in a form field and when focus is given to the field, the words will disappear. Great for providing instructions in a small space.

[ Get Source Code ]


Title: isCurrency
Contributor: Derek J. Klingman (dklingman@quantumsoftware.net)
Contributor URL: http://quantumsoftware.net
Details: 6.82 KB * Uploaded March 11 2003
Description: This function will take a string value and break it apart and check for valid US currency values. If the string is a valid US currency value the function will return true. If the function encounters an error while validation the function will display a error message to the client and return false.

[ Get Source Code ]


Title: Items List
Details: 1.30 KB * Uploaded August 4 1997
Description: Javascript can remember a list of several items you enter. Just enter an item and click 'Add to List'. When you are finished, click 'Show List' to see the entries.

[ Get Source Code ]


Title: Items Popup List
Contributor: Pankaj Mittal (pankajm@writeme.com)
Contributor URL: http://www.fortunecity.com/lavendar/lavender/21
Details: 5.27 KB * Uploaded May 10 2000
Description: If you have several items for the user to pick from, you may notice that your page can quickly becomes cluttered. This script helps solve that problem by opening a new window when the user wants to add items to the list. The new window displays the items and passes the selected item information back to the list in the main window. Slick!

[ Get Source Code ]


Title: Limit Boxes
Contributor: Glenn Wang (brief@ix.netcom.com)
Contributor URL: http://capsule.bayside.net/
Details: 1.56 KB * Uploaded January 28 2000
Description: Limits the number of checkboxes that the user is able to check on your site. Ideal for situations when more than one selection is allowed up to a certain number overall. If they select too many, they are notified of the maximum allowed and their last entry becomes unchecked.

[ Get Source Code ]


Title: Limit Textarea
Contributor: Ronnie T. Moore
Contributor URL: The JavaScript Source
Details: 1.37 KB * Uploaded May 22 2000
Description: This script controls a maximum textarea input amount and updates a small counter with how many characters are left with each keystroke. Dynamic fix now allows you to use this script in multiple textboxes on a page. Easy!

[ Get Source Code ]


Title: Line Wrapper
Details: 2.35 KB * Uploaded September 30 1999
Description: Wraps entries in a textarea box to whatever number of characters per line you want. For example, The script can automatically insert a return after each 50 spaces, so that the form contents you receive are more readable. (The script does indifferently break lines in mid-word, a possible fix for the next version?)

[ Get Source Code ]


Title: List Chooser
Contributor: Anand Raman (anand_raman@poboxes.com)
Contributor URL: http://www.angelfire.com/ar/diduknow
Details: 4.83 KB * Uploaded October 18 1999
Description: The user can immediately locate what he has been searching for in the long options list just by typing. With each character the user types in the text field, the available items listed are narrowed down (similar to a help file's index feature). Clever! (Start by entering an 'a' to narrow the list)

[ Get Source Code ]


Title: List Organizer
Contributor: Bob Rockers
Details: 3.30 KB * Uploaded May 3 2001
Description: Easily organize a list of values to place them in any order. Allows you to add and delete from the list!

[ Get Source Code ]


Title: Locked Textbox
Details: 0.46 KB * Uploaded March 21 1999
Description: Prevent your visitors from modifying the value stored in a textbox (without using input type=hidden) Just try to change the text in the box! Amazingly, it's a short less than one line script!

[ Get Source Code ]


Title: Mail - Pick Subject
Details: 4.15 KB * Uploaded July 11 1997
Description: Use Javascript to help organize your visitor e-mail. Visitors pick from several predetermined subjects the most appropriate subject for their e-mail. Visitor are also prompted to reenter information for incomplete or invalid entries. A cookie also records the visitor's name for future e-mails.

[ Get Source Code ]


Title: Mailing List
Details: 4.56 KB * Uploaded July 11 1997
Description: Use Javascript to sign up visitors for your mailing list. Once again, Javascript ensures that the visitors have filled out the form completely and correctly. Visitors area also prompted to reenter any incomplete or invalid entries.

[ Get Source Code ]


Title: Max Entry
Details: 1.00 KB * Uploaded March 31 1999
Description: Make sure your visitor doesn't exceed the maximum number of characters that you want to accept in a form. Short too!

[ Get Source Code ]


Title: Memory Cells
Details: 1.11 KB * Uploaded May 7 2001
Description: Need to save values from a text field off to the side to free up a form for another calculation? This JavaScript lets you do just that!

[ Get Source Code ]


Title: Menu Swapper
Contributor: Phil Webb (phil@philwebb.com)
Contributor URL: http://www.philwebb.com
Details: 4.75 KB * Uploaded May 31 2001
Description: Move selected items from one list box to another using "<<" and ">>" direction buttons. It works like database field selection, supports selecting multiple items, and even can sort the moved item into the new list. Newly modified, more efficient algorithm!

[ Get Source Code ]


Title: Money Filter
Contributor: Fred Roberts (fred@gloryofgod.com)
Details: 0.89 KB * Uploaded March 10 2000
Description: Removes the dollar sign ($) and commas (,) from a a text box. Useful if you require input of only numbers. You may also modify the script to filter out whatever characters you want.

[ Get Source Code ]


Title: Multi-Date Picker
Contributor: GShou-Chih, Chu (rainyju@hotmail.com)
Details: 6.04 KB * Uploaded November 1 2004
Description: This script allows you to simply pick dates by clicking the date of the dynamic calendar.

[ Get Source Code ]


Title: Multiple Mailer
Contributor: Jeff Kieke
Details: 1.78 KB * Uploaded July 3 1998
Description: JavaScript can help you send an e-mail to anyone on your "list". Just use the pulldown menu to select a recipient, compose your message, and hit 'Send Message' to send it. This too, is another good JavaScript example for all beginners to learn from.

[ Get Source Code ]


Title: Multiple Search Engine
Contributor: David Coleman (deansuperhero1@aol.com)
Contributor URL: http://www.hostcompanies.com/
Details: 14.22 KB * Uploaded May 21 2003
Description: Over 70 popular and unusual internet search engines in a drop down box. Great little tool to add to a site to help your community grow.

[ Get Source Code ]


Title: New Window
Details: 0.96 KB * Uploaded May 15 1998
Description: Do you have a link that you'd rather have open in a new window? This little script will do just that! You can even use a button or a text link to open the new window! Check out the example and see what you think!

[ Get Source Code ]


Title: No Duplicates
Contributor: Denis Dijon (ddijon@hotmail.com)
Contributor URL: http://213.177.134.20
Details: 2.34 KB * Uploaded April 26 2001
Description: Prevents you from selecting the same choice when choosing from two different pulldown menus.

[ Get Source Code ]


Title: No Entry
Details: 1.00 KB * Uploaded July 11 1997
Description: Use Javascript to ensure that visitors do not leave a form entry blank.

[ Get Source Code ]


Title: No HTML
Details: 1.11 KB * Uploaded October 4 1998
Description: Use Javascript to ensure that visitors do not type in HTML entries.

[ Get Source Code ]


Title: One Check
Contributor: Mike Best
Details: 1.81 KB * Uploaded April 22 2005
Description: Only allow one box to be checked out of any number of boxes. Handy for quizzes, etc.

[ Get Source Code ]


Title: Only One Field
Details: 1.45 KB * Uploaded July 30 1999
Description: The visitor must fill in either one of two fields, their name or email address. If they click in either box the other box's value is erased. Ensures that when the form is submitted only one field contains a value. Also contains validation that makes sure both fields are not empty.

[ Get Source Code ]


Title: Open Link
Contributor: Jason Francis (jasonledoux@msn.com)
Contributor URL: http://www.angelfire.com/la3/nosaj/
Details: 1.28 KB * Uploaded October 18 2001
Description: Add the option of allowing links on your page to be opened in a new window with this powerful script. A simple checkbox toggles between the current and new window. Great!

[ Get Source Code ]


Title: Option Search
Contributor: Darko Egersdorfer (darkoe@za.bynx.com)
Details: 1.90 KB * Uploaded October 24 2000
Description: Allows you to jump to any value in a drop down list. In our example, search for a value between 'a1' and 'a15'. Saves time when it comes to navigating within long pull down menus.

[ Get Source Code ]


Title: Order Form
Contributor: Paul DeBrino
Contributor URL:  http://infinity-rd.com
Details: 5.24 KB * Uploaded April 16 2002
Description: An order form which utilizes checkboxes and radio buttons for making a selection. The checkbox only allows one quantity of any item to be ordered, while the radio button only allows for one item within a defined group to be ordered. Script updates the order total as the visitor makes his/her selections, also note that the order total can not be manually altered by the visitor. Works in MSIE and Opera.

[ Get Source Code ]


Title: Parse Text
Contributor: Chu Alan
Contributor URL: http://www.methylated-spirit.com
Details: 1.38 KB * Uploaded June 6 2001
Description: Quickly and easily convert text into a JavaScript string. Neat!

[ Get Source Code ]


Title: Pass Menu (in frames)
Contributor: Ronnie T. Moore
Contributor URL: The JavaScript Source
Details: 1.42 KB * Uploaded March 27 2000
Description: After the user selects an option in the pulldown menu in the left frame, JavaScript can pass that option's value into a text box in the right frame when the button is clicked. Cool!

[ Get Source Code ]


Title: Pass Multiple Values
Contributor: Caleb Larsen (caleb@mopedarmy.com)
Contributor URL: http://www.wmich.edu/apps/passmultiplevalues.html
Details: 1.96 KB * Uploaded January 15 2002
Description: Values selected from the drop-down box appear in the text area below. As more items are selected they are added to the list.

[ Get Source Code ]


Title: Pass Textbox (in frames)
Contributor: Ronnie T. Moore
Contributor URL: The JavaScript Source
Details: 1.38 KB * Uploaded March 24 2000
Description: Copies the text in a box in the left frame into a box in the right frame when the button is clicked. A clever way to pass values in frames.

[ Get Source Code ]


Title: Passing Values
Details: 1.23 KB * Uploaded November 11 1999
Description: Here is a clever way of 'unwrapping' the contents of a form when passed from one page to the next. This capability would be useful in many situations, such as passing the contents of a form to another page, retaining information about the current page for the rest of their visit, etc. Great!

[ Get Source Code ]


Title: Password Verifier
Contributor: Carey Walker (carey.walker@citicorp.com)
Details: 1.13 KB * Uploaded April 18 1999
Description: Keep your visitors from submitting their form until their "password" and "re-enter password" fields match, for verification purposes. They get an error message telling them to re-enter the passwords if they do not match.

[ Get Source Code ]


Title: The Picklist Script
Contributor: Sean Geraty
Contributor URL: http://www.freewebs.com/sean_geraty/
Details: 5.73 KB * Uploaded September 09 2003
Description: This little snippet is a picklist. Add it to your forms to move selections from one column to another.

[ Get Source Code ]


Title: Popup Picker
Contributor: Shawn A. Mann (dharmamann@hotmail.com)
Contributor URL: http://www.laughingshaman.com
Details: 2.14 KB * Uploaded October 25 2000
Description: Select an item from the list and the selected value is passed to the form field of the original window, and the pop-up closes automatically. Useful!

[ Get Source Code ]


Title: Radio Buttons
Contributor: Evaldo Nunes (woodstock@globo.com)
Contributor URL: http://www.guianetweb.com.br
Details: 2.06 KB * Uploaded October 30 2001
Description: Tired of the same old ugly radio buttons in your forms? Try this short script. Neat!

[ Get Source Code ]


Title: Radio Question Validator
Contributor: David Blackledge
Contributor URL: http://David.Blackledge.com
Details: 1.92 KB * Uploaded February 20 2002
Description: Validates that every Radio Button question on the form has been answered. No modifications needed!

[ Get Source Code ]


Title: Remove Returns
Contributor: Ascii King (chicorama@usa.net)
Contributor URL: http://www.geocities.com/enchantedforest/2120
Details: 1.41 KB * Uploaded June 20 2000
Description: Converts carriage returns in a string to the
tag so that the input can be properly displayed in HTML. Without the script, returns in an input field are not preserved when submitting in a form. Useful for guestbooks or other times when a user's input must be preserved.

[ Get Source Code ]


Title: Remove_XS_Whitespace
Contributor: Pat Cahill (patrickcahill@bigfoot.com)
Contributor URL: http://www.pcap.org.au/pat/fields.html
Details: 2.25 KB * Uploaded August 27 2001
Description: Strips excess spaces from a field. Users sometimes enter " " in required fields to trick most validation that only checks for "" length fields. This script takes a string and removes the leading and trailing spaces and also any extra spaces in the string. IE only.

[ Get Source Code ]


Title: Rank 'em
Contributor: Kent Rauch (kent@restekcorp.com)
Contributor URL:  http://www.restekcorp.com
Details: 4.83 KB * Uploaded June 12 2002
Description: Create a survey asking people to rank things, and this script will validate that everything is ranked, and no rankings are repeated. Could be adapted into a puzzle or game.

[ Get Source Code ]


Title: Replace Characters
Details: 1.09 KB * Uploaded August 16 1999
Description: Replaces a character or multiple characters in a textbox when the visitor goes to the next field (or in this example, clicks the submit button).

[ Get Source Code ]


Title: Required Fields
Contributor: Wayne Nolting (w.nolting@home.com)
Details: 1.64 KB * Uploaded April 3 2001
Description: Checks form fields to verify that each specified field is not left empty. Displays a warning message if any empty fields are present. Great!

[ Get Source Code ]


Title: Resize Form Elements
Contributor: Joshua Miller (josh.miller@eagletgi.com)
Contributor URL: http://www.eagletgi.com
Details: 2.38 KB * Uploaded August 9 2001
Description: Tired of making all those beautiful, complex HTML forms, only to have them be destroyed when switching between browsers? This script eliminates the frustration by dynamically up-sizing the form elements in Internet Explorer by a specified percent. Use Netscape sizes for your formfields and this script makes them the same size in IE.Sweet!

[ Get Source Code ]


Title: Return Key Disable
Contributor: Volker Schubert (js@volker-schubert.de)
Details: 1.57 KB * Uploaded October 22 2002
Description: This script prevents the "early submitting" of forms by disabling the Return Key in simple Input Tags and allowing it in TextAreas

[ Get Source Code ]


Title: Sales Tax Calculator
Contributor: Gordon Hudson (sales@hostroute.com)
Contributor URL: http://www.hostroute.com/
Details: 1.94 KB * Uploaded December 18 2001
Description: This script adds a fixed percentage to an order total in a form. The percentage added is dependent on the option chosen from a menu. It was written to add sales tax (VAT) to an online ordering system but could be used to add shipping or any other fixed percentage amount. IE, NS6+

[ Get Source Code ]


Title: Search Box
Contributor: blakethedog@woh.rr.com (blakethedog@woh.rr.com)
Details: 2.49 KB * Uploaded February 15 2001
Description: This JavaScript search form opens a seperate window where you can select from search engines such as Yahoo!, Excite, and more. Awesome!

[ Get Source Code ]


Title: Select All
Details: 0.52 KB * Uploaded February 28 2001
Description: Select the text from any form with the click of a button, just as used on the JavaScript Source. Easy!

[ Get Source Code ]


Title: Select and Auto Copy
Contributor: Russ (NewXS3@aol.com)
Contributor URL: http://dblast.cjb.net
Details: 1.21 KB * Uploaded January 25 2002
Description: With this script you can highlight and copy text in a textarea box with the click of a button. IE only (In Netscape, it only highlights the text; it doesn't copy it.)

[ Get Source Code ]


Title: Select One
Contributor: Mike Best (mike.best@hei-usa.com)
Contributor URL: http://www.hei-usa.com
Details: 1.86 KB * Uploaded May 22 2001
Description: Limits the number of checkboxes a user may click by deselecting the others upon selection. Cool!

[ Get Source Code ]


Title: Selection Box
Contributor: Kathi O'Shea (Kathi.O'Shea@internet.com)
Contributor URL: http://www.web-savant.com/users/kathi/asp
Details: 3.29 KB * Uploaded October 19 2000
Description: Copy items from one selection box to a second selection box. Selected item values are stored as a string for further manipulation, such as submitted through a form, an alert box, etc. Useful!

[ Get Source Code ]


Title: Selection Order
Contributor: Roelof Bos (roelof667@hotmail.com)
Contributor URL: http://www.refuse.nl
Details: 2.50 KB * Uploaded April 27 2001
Description: Adjust the order of the items in a selection box and submit them in that order. Neat!

[ Get Source Code ]


Title: Sentence Caps
Details: 2.10 KB * Uploaded July 11 1997
Description: Use Javascript to convert entries to sentence caps. Also, this script prevents jokers from typing in all caps.

[ Get Source Code ]


Title: Single Click for Multiple Boxes
Contributor: Kiran Pai (paikiran@yahoo.com)
Contributor URL: http://www.geocities.com/paikiran/articles/9tips.html
Details: 1.33 KB * Uploaded January 31 2005
Description: This script offers your users the ability to check or uncheck multiple boxes on a form.

[ Get Source Code ]


Title: Smart Pulldown Menu
Contributor: Dale Anderson (skinnycowboy@hotmail.com)
Contributor URL: http://www.skinnycowboy.com
Details: 2.70 KB * Uploaded April 13 2001
Description: Uses cookies to let a dropdown list remember which option was chosen when a user returns to the page. It comes in very handy if you have a page that is frequently accessed and users tend to repeatedly chose the same option from a list. Cool!

[ Get Source Code ]


Title: Smut Engine
Details: 1.31 KB * Uploaded July 11 1997
Description: Use Javascript to ensure that forms submissions to do not contain words you don't want. It can eliminate dirty words or competitors' names.

[ Get Source Code ]


Title: Sort Data Table
Contributor: Andrew Berry (aberry@berrysystems.com)
Contributor URL: http://www.berrysystems.com
Details: 7.51 KB * Uploaded August 16 2001
Description: Click on the column headings to sort the information in the table. IE 5+ only.

[ Get Source Code ]


Title: Spaces to Plus Symbol
Contributor: Mike McGrath (mike_mcgrath@lineone.net)
Contributor URL: http://website.lineone.net/~mike_mcgrath
Details: 1.08 KB * Uploaded February 3 2000
Description: Replaces single or multiple spaces in a text box entry with plus (+) symbols. Handy if your server's form processing or database management program requires this type of encrypted format.

[ Get Source Code ]


Title: Strip Characters
Contributor: Ryan A. Somma (ryan@waygate.com)
Contributor URL: http://www.waygate.com
Details: 1.45 KB * Uploaded October 11 2000
Description: Strips the characters from an input string. You can change the characters you want removed from the string by changing one line of code. Very useful!

[ Get Source Code ]


Title: Submit Changer
Contributor: Mike Fernandez
Details: 0.87 KB * Uploaded July 19 2000
Description: Changes the caption of the form's submit button while the form is being submitted. This helps eliminate the confusion that can sometimes occur when a form takes quite a while to be processed by the server.

[ Get Source Code ]


Title: Submit Link
Contributor: D Antonacci (DAntonacci@codeave.com)
Contributor URL: http://www.codeave.com
Details: 0.39 KB * Uploaded February 22 2001
Description: Now you can easily use text or an image as a submit button!

[ Get Source Code ]


Title: Submit Once
Details: 2.05 KB * Uploaded July 6 1999
Description: Do you ever receive multiple copies of a single form submission? Do your visitors click the submit button over and over, hoping it will hurry up the process? Well, JavaScript can solve your problems! The script will prevent the visitor from submitting the form after the first submission. Basic field validation also included! Great!

[ Get Source Code ]


Title: Submit Once for FrontPage
Contributor: Douglas Nelson (silentdoug@bigfoot.com)
Contributor URL: http://frontpage.home.net/silentdoug/
Details: 3.29 KB * Uploaded September 6 2001
Description: A script that only allows the user to submit a form once. Compatible with Microsoft FrontPage's built-in validation methods, which other 'Submit Once' scripts are not. It spoofs FrontPage by dynamically re-writing the onSubmit handler in the user's browser.

[ Get Source Code ]


Title: Suggestions
Details: 3.82 KB * Uploaded July 11 1997
Description: Use Javascript to allow visitors to send your feedback.

[ Get Source Code ]


Title: Tab Key Emulation
Contributor: Ronnie T. Moore
Contributor URL: The JavaScript Source
Details: 1.78 KB * Uploaded March 29 2000
Description: The tab key is no longer required to tab between fields. The user can go to the next form field just by pressing the enter key instead of the tab key. Useful with 10-key form input. What a time saver!

[ Get Source Code ]


Title: TextBox Expander
Contributor: Michael P. Hemmes (trueluck3@hotmail.com )
Contributor URL: TextBox Expander
Details: 2.16 KB * Uploaded September 6 2002
Description: I get annoyed when I'm trying to fill in a form and I have to scroll left or right to see what I've typed. This little script puts an end to that. The amazing expanding text box!

[ Get Source Code ]


Title: Text Cycler
Contributor: James Gough (wheresjim@hotmail.com)
Contributor URL: http://www.esprinkles.com
Details: 1.97 KB * Uploaded December 19 2000
Description: Use the Up and Down arrows while in the text box to cycle through your choices. InternetExplorer users can go up and down through the list, Netscape users can only go down through the list. Neat!

[ Get Source Code ]


Title: Text Reverser
Details: 0.88 KB * Uploaded May 31 1999
Description: JavaScript will take the contents of a box and reverse it! If you entered 'hello' it will change the box to say 'olleh'. This might be useful on your site in a form or just for fun.

[ Get Source Code ]


Title: Tigra Form Validator
Contributor: Tigra Support (support@softcomplex.com)
Contributor URL: http://www.softcomplex.com
Details: 7.00 KB * Uploaded July 29 2004
Description: Tigra Form Validator is free JavaScript component performing client side form validation. With this feature set the script can be used with HTML forms of virtually any complexity.

[ Get Source Code ]


Title: Time Out
Contributor: Sergio Mottura (sergio1@onebox.com)
Contributor URL: http://www.bassprotips.com
Details: 1.71 KB * Uploaded December 21 2000
Description: Limit the time allowed for form input with this short script. Easy!

[ Get Source Code ]


Title: Trim Leading Spaces
Details: 0.61 KB * Uploaded September 17 1999
Description: A super-easy script which eliminates any extra leading spaces entered inside a textbox. To check it out in action, try entering a few spaces before the text in the box.

[ Get Source Code ]


Title: Trim Trailing Spaces
Details: 0.62 KB * Uploaded September 20 1999
Description: A super-easy script which eliminates any extra trailing spaces entered inside a textbox. To check it out in action, try entering a few spaces after the text in the box.

[ Get Source Code ]


Title: True Date Selector
Contributor: Lee Hinder (lee.hinder@ntlworld.com)
Contributor URL: http://www.cl2000.co.uk/mrlee/js/truedateselector.htm
Details: 4.29 KB * Uploaded July 16 2001
Description: This script helps to insure the integrity of the date entered in drop-down menus. Dates, such as Feb 31st can't be selected. Today's date is automatically selected.

[ Get Source Code ]


Title: UK Postcode Validation
Contributor: Peter Haydon (peter_haydon@lineone.net)
Contributor URL: http://newportpagnell.cjb.net/
Details: 3.78 KB * Uploaded September 24 2001
Description: Checks that postcodes are in correct format. Is written for UK format, but is easily adapted for other countries.

[ Get Source Code ]


Title: Undo-Redo
Contributor: Turnea Iulian
Contributor URL: http://www.eurografic.ro
Details: 1.89 KB * Uploaded November 18 2005
Description: Give your users the option of changing their entries in your textareas. Add this script to your forms or use it in a WYSIWYG editor.

[ Get Source Code ]


Title: Upload Filter
Contributor: ArjoGod, Shauna Merritt
Details: 1.55 KB * Uploaded September 25 2000
Description: Allowing visitors to upload files through web forms on your site is useful, but how do you limit the types of files they can upload? This script only allows visitors to upload files that end with the file extensions you want, such as .gif and .jpg, etc. Easy!

[ Get Source Code ]


Title: User Management
Contributor: Sergei Kouzminiov (sergei.kouzminov@sympatico.ca)
Details: 5.92 KB * Uploaded November 2 2001
Description: Use this script to add and subtract items in different fields. Changes made can be displayed for each field.

[ Get Source Code ]


Title: Validate Date
Contributor: Torsten Frey (tf@tfrey.de)
Contributor URL: http://www.tfrey.de
Details: 3.77 KB * Uploaded December 28 2001
Description: This is a simple date validation. The script is written for the European format (ddmmyy), but can easily be changed.

[ Get Source Code ]


Title: Validation
Details: 1.94 KB * Uploaded July 11 1997
Description: Let Javascript help you receive feedback from your visitors. The script also requires that all fields must be completed before the form is submitted. Great!

[ Get Source Code ]


Title: Validation (Character)
Contributor: Mikhail Esteves (miks80@yahoo.com)
Contributor URL: http://www.freebox.com/jackol
Details: 1.72 KB * Uploaded January 15 2001
Description: Automatically removes specified characters from input box. Good for fields that require only text/number inputs. Easily modified to accept only text or only numerals.

[ Get Source Code ]


Title: Validation (Cookie)
Details: 2.71 KB * Uploaded July 11 1997
Description: Use Javascript to ensure that all elements of a form are properly filled out before mailing.

[ Get Source Code ]


Title: Validation (Credit Card)
Contributor: Simon Tneoh (tneohcb@pc.jaring.my)
Details: 1.82 KB * Uploaded March 23 2000
Description: Determines if a credit card number is valid before the form is submitted by utilizing the LUHN formula. Very simple, and does not require knowledge of the credit card type. Does not check if the date is valid. Ver useful for online order form validation. Note: Although this form does not capture your credit card information, if you do not feel comfortable entering your credit card number to test this script, please DO NOT !

[ Get Source Code ]


Title: Validation (Date)
Contributor: Mike Welagen (welagenm@hotmail.com)
Details: 4.34 KB * Uploaded July 31 2000
Description: Dates are validated and formatted in your form. Supports over a dozen different date formats, and formats the date properly in United States or European date formatting styles depending on how the script is configured. A dateCheck function also is included if you wish to compare two dates. Wow!

[ Get Source Code ]


Title: Validation (Universal Date)
Contributor: Sandeep Tamhankar (stamhankar@hotmail.com)
Details: 15.74 KB * Uploaded March 1 2001
Description: Validate dates in your form using this universal script. Will work with any date format and the code is fully commented for easy modification. Great!

[ Get Source Code ]


Title: Validation (Guestbook)
Details: 5.95 KB * Uploaded July 11 1997
Description: Use Javascript to ensure that all elements of a form are properly filled out before mailing.

[ Get Source Code ]


Title: Validation (Information)
Details: 1.16 KB * Uploaded July 11 1997
Description: Test the powers of Javascript. Watch as Javascript tells you if information about you is valid or not.

[ Get Source Code ]


Title: Validation (IP Address)
Contributor: Jay Bienvenu
Contributor URL: http://www.bienvenu.net
Details: 1.91 KB * Uploaded November 23 2000
Description: Verify the value of an IP address. Check for special cases such as "0.0.0.0" and "255.255.255.255". Cool!

[ Get Source Code ]


Title: Validation (No Alert)
Contributor: Jeff Harding (jbh@site-ations.com)
Contributor URL: http://www.site-ations.com
Details: 3.82 KB * Uploaded August 18 2000
Description: Stop displaying those annoying alert boxes with your JavaScript form validation. This script uses images to display any error messages to the user, cool!

[ Get Source Code ]


Title: Validation (Num. or Chars)
Details: 1.13 KB * Uploaded July 19 1999
Description: Validates an input field to make sure that only a number or character is entered. If you enter a number or a letter everything you can continue on. But, try entering another value like an exclamation point (!), an ampersand (&), or a dollar sign ($) and see what happens. It even highlights the incorrect entry field for you. Nice!

[ Get Source Code ]


Title: Validation (password)
Contributor: Russ Swift (rswift220@yahoo.com)
Details: 1.98 KB * Uploaded February 2 2001
Description: This script works like our Password Verifier, however, it also checks for a minimum length and invalid characters.

[ Get Source Code ]


Title: Validation (Selection)
Details: 3.04 KB * Uploaded July 11 1997
Description: Use Javascript to ensure that visitors choose both a radio button and a checkbox. Invalid submissions are cancelled.

[ Get Source Code ]


Title: Validation (SSN)
Contributor: Sandeep V. Tamhankar (stamhankar@hotmail.com)
Contributor URL: http://207.20.242.93
Details: 1.54 KB * Uploaded November 17 2000
Description: Input the Social Security Number using either the 9 digit or NNN-NN-NNNN format. The number ranges can be easily changed by the S.S.A, so this is not checked.

[ Get Source Code ]


Title: Validation (Time)
Contributor: Sandeep Tamhankar (stamhankar@hotmail.com)
Contributor URL: http://207.20.242.93
Details: 1.92 KB * Uploaded February 21 2000
Description: This function verifies that a string is a valid time, in the form hh:mm:ss am/pm, where seconds are optional. It accepts military time (hour between 0 and 23) as long as am/pm isn't specified. It requires am/pm when the hour is less than or equal to 12.

[ Get Source Code ]


Title: Validation (Zip Code)
Contributor: Brian Swalwell
Details: 1.39 KB * Uploaded September 10 1999
Description: Ensure that your visitors enter a properly formatted 5 digit, or 5 digit+4 zip code. The visitor is alerted if any information is invalid and asked to try again. Cool!

[ Get Source Code ]


Title: Word Count
Contributor: Shawn Seley
Details: 1.94 KB * Uploaded January 3 2001
Description: Finally, an easy way to count the number of words that are entered into a form!

[ Get Source Code ]


Title: Word Counter
Contributor: Patrick Lewis (gtrwiz@aol.com)
Contributor URL: http://www.patricklewis.net/
Details: 3.38 KB * Uploaded July 10 2001
Description: This is a handy script that counts the words (or characters) entered into a textarea and limits it to 100 words or less (this can be changed).

[ Get Source Code ]


Title: Word Filter
Contributor: Premshree Pillai (premshree@hotmail.com)
Contributor URL: http://www.qiksearch.com/
Details: 2.38 KB * Uploaded February 4 2005
Description: This form validator filters pre-selected words in a text box. When the user submits text, the validator will check the words against the list of banned words.

[ Get Source Code ]


Title: Zip to State
Contributor: Daniel Dailey (jesusfreak@cyberdude.com)
Details: 28.78 KB * Uploaded September 29 2000
Description: Enter your five digit zip code and press tab to have the script display your state automatically. Piece of cake!

[ Get Source Code ]


javascriptsource.com
Link to Us!

Jupitermedia's Database Journal offers SQL courses and other database related resources for beginner to expert developers.






If you like JavaScript Source, please rate it! @ ScriptSearch.com

  Sign up for the Javascript Weekly Newsletters!
JavaScript is a registered trademark of Sun Microsystems, Inc.







JupiterWeb networks:

internet.comearthweb.comDevx.comGraphics.com

Search JupiterWeb:

Jupitermedia Corporation has three divisions:
JupiterImages, JupiterWeb and JupiterResearch

Copyright 2005 Jupitermedia Corporation All Rights Reserved.
Legal Notices, Licensing, Reprints, & Permissions, Privacy Policy.

Jupitermedia Corporate Info | Newsletters | Tech Jobs | Shopping | E-mail Offers