Forms JavaScript Code Snippets

These snippets (and a few tutorials) all deal with Javascript forms. We’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).

Enter your five digit zip code and press tab to have the script display your state automatically. Piece of cake!

Fairly simple, a form that allows your visitors to open their yahoo inboxs thru your site. Not totaly perfected. Feel free to modify and change the script. If you can make it better, or have suggestions on other similar scripts that you would like to see, email me.

“This JavaScript is a “”Word Filter””. When the user submits some text, the validator will check the text for words that you specify to be filtered.

Finally, an easy way to count the number of words that are entered into a form!

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).

“This script creates a real looking and feeling “”windows”” effect. It uses layers and works in both IE4 and Netscape4.”

Makes quick and simple Web page templates. You can now save the final file, in Web Page Maker Mk. 1 you couldn’t. Has a nice form layout.

This script creates a weight converter that can convert five different units at one time.

click on a link, a prompt appears, type the name of a search engine, hit OK, goto the search engines homepage! (lamely)wow

This script is a reusable system for adding a graphical keyboard interface to text fields, password fields, and textareas so they can be filled with mouse only. It also adds easy access to special characters your existing keyboard may not otherwise have the ability to generate. Comes with Arabic, Belgian, Dutch, Dvorak, French, German, Greek, Hebrew, Hungarian, Italian, Lithuanian, Norwegian, Number Pad, Polish Programmers, Portuguese, Russian, Slovenian, Spanish (Spain), Turkish-F, Turkish-QWERTY, UK, US Standard and US International keyboard layouts, dynamically selectable. Add additional layouts is simple. Easily implemented on any Web site.

When requesting certain information, such as an e-mail address or a password, it’s usually best to have the user enter the information twice in order to verify that a typing error did not occur. This script will do just that, and will provide a message for your user that it has been done.

This script counts down how many years, months, days, hours, minutes and seconds to go until a special time you designate.