This JavaScript shows how to have a form-based question validated on the submit. It builds the new page which it writes to the window after the answer is submitted. It tells on the new page if you got the answer right or not.
Along with explanation this is a JavaScript that you can use with your forms to make sure that your visitors complete the necessary fields in your forms before the submission.
Version: 1.0 Platform(s): n/a Updated: Sat Mar 17 2001
ResizeObjects is a set of Javascript functions that that enable a user to build a form and dynamically resize the form objects depending on the size of the browser window. It is copyrighted, and distributed under the GNU Public License.
Version: 0.1 Platform(s): n/a Updated: Thu Feb 15 2001
This JavaScript example shows how to create a form that has a portion of the form shown (or hidden) upon certain user events. (radio button selection by the user in this example) Note: Netscape has a problem with embeding a portion of a form inside a DIV/SPAN/LAYER, which is why there are three forms shown here, but once you have the values, its easy enough to pull the information together before running the target of the frame.
Version: n/a Platform(s): n/a Updated: Mon Jan 29 2001
This shows another method to verify text boxes input and then put the focus into missing data boxes. It also checks some things to see if the email is "valid" - other tests could be added as determine viable. The alerts can be used, but they conflict with the focus thing going on.
Version: n/a Platform(s): n/a Updated: Mon Dec 4 2000
This is a simple JavaScript showing how to select all or none of the items in a select list. All the items are shown (not a drop down list) only to show that they are all selected or none are selected.
Version: n/a Platform(s): n/a Updated: Sat Dec 2 2000
This script allows you to add a "select all" feature to your form 'TEXTAREA's, whereby visitors can easily highlight the containing content with a click on a link.
Version: n/a Platform(s): n/a Updated: Thu Jun 1 2000
This is a script that closely examines the content of a form box to ensure that the user entered a valid email address. If not, the form submition is canceled, and the surfer prompted to re-enter a valid address.
Version: n/a Platform(s): n/a Updated: Wed May 3 2000
Use this JavaScript to ensure that e-mail addresses provided in a form submission contain a prefix, the '@' sign, and an appropriate suffix (.com, .net, etc.).
Version: n/a Platform(s): n/a Updated: Tue Aug 10 1999
this 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.
Version: n/a Platform(s): n/a Updated: Tue Aug 10 1999
If you'd like to know where visitors to your site live, add this script to your feedback forms. Users 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)
Version: n/a Platform(s): n/a Updated: Tue Aug 10 1999
you can use this JavaScript to ensure that all elements of a form are properly filled out before they can be mailed to you. It uses cookies for the form validation.
Version: n/a Platform(s): n/a Updated: Tue Aug 10 1999
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? This script will solve the problem by preventing the visitor from submitting the form after the first submission. Basic field validation also included.
Version: n/a Platform(s): n/a Updated: Tue Aug 10 1999
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.
Version: n/a Platform(s): n/a Updated: Tue Aug 10 1999
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, entering another value like an exclamation point (!), an ampersand (&), or a dollar sign ($), you will be prompted with a warning message. It even highlights the incorrect entry field for you.
Version: n/a Platform(s): n/a Updated: Tue Aug 10 1999