This useful script allows you to target a form's submission to a new customizable window, so the original page does not change once the "submit" button is pressed. Instead, a customizable pop up window is launched containing the destination page.
Use this script to automatically clear the default value of any form's input field when the mouse sets focus on it. This script intelligently distinguishes between default and user-entered text, and clears only the former on mouse focus.
Client side java script is the efficient way to validate the user input in web forms. It gives the response immediately and reduces the server load. But, when there are many forms in the project and when the forms are long, writing the form validations becomes a daunting, repetitive task. Save yourself from coding long validations for your forms. Here is a simple, powerful form validation code. Using this code, you can do the common form validations in a snap.
Checking that form fields have input is extremely important - having this performed before the form is submitted, client side, before its handled by anything at the backend such as an SQL or MS Access database, is vital and an additional factor in getting accurate input. This code contains functions to check null input and also to check if an email address follows a valid pattern.
Displays a short list of ~39 countries -or- a complete list of ~240 countries, all under the users control and in ONE select control. The user can switch back abd forth between the two lists. It even supports default values.
This program illustrates how to actually read and process fields of information from a form (including proper number to number conversion) on a webpage WITHOUT the need of having to actually use the traditional submit button (and writing sometimes long parsing functions that everyone seems to be using) before any processing is done.