13058Only One Fieldhttp://javascript.internet.com/forms/only-one-field.htmlThe 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.JavaScript > Scripts and Programs > FormsOct 12, 2006
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!
Simply click inside the window below, use your cursor to highlight the script, and copy (type Control-c or Apple-c) the script into a new file in your text editor (such as Note Pad or Simple Text) and save (Control-s or Apple-s). The script is yours!!!
JSpell HTML supports any JavaScript 1.1 enabled web browser. All browsers from Netscape 3.0 and higher, including Internet Explorer, Firefox, Opera, Mozilla, Gecko, Safari and others have been tested for compatibility with JSpell HTML.
JSpell HTML installs on your web server and is compatible with HTML, JSP, ASP .NET, CGI, PHP, Lotus Domino and more.
Try the following demonstration of the JSpell HTML form spell checker using the provided quote or type your own text to see JSpell HTML at work.
The VSK Form Tools library contains function to retrieve data from and manipulate form elements. It allows, for example, to retrieve the caret's (text cursor) pixel position within the input element.
When requesting an important bit of information, such as an email address or a password, you might want the user to enter the information twice so you can verify that a typing error did not occur.
Instead of waiting for the user to submit the form, why not notify the user when the passwords match (and more importantly, when they don't match)?
In the following form, make up a password and enter it in each field. When the passwords match, a "thank you" message should appear. Try modifying one of the passwords so they no longer match and see what happens
Joining mailing list will entitle you
to receive occasional emails informing you of news and
updates to the site and any special offers that may be
of interest to you.