Welcome to Redline spacer spacer
JavaScript Form Validator
bar Dec 16, 2017
bar Home
bar Downloads
bar Privacy
bar Site Map
bar Search
bar  

 
Home > Toys > Here
 
spacer In this document there is a JavaScript program that you may want to use to help out the new users of your applications.

This JavaScript program performs several checks on the data in the form below. If none of the specified input fields have data, the JavaScript program will ask for confirmation prior to submitting the data to the web server. Used in this way, part of the form validation for large, multi-field, or complicated host application screens can be performed on the browser end.

In this example form, the 'Full Name Field' should have something it before the 'Submit' button is clicked. If this is not the case, a JavaScript 'confirm()' box will be displayed along with a message about which input field needs to be addresed.

Given the nature of the input tag names can exist, a mapping of 'x12y3' to a name 'Full Name Field' is accomplished in the JavaScript. This is an unfortunate pre-processing cost of this JavaScript program. All fields of each form that you care to use this JavaScript program on will have to be cataloged, mapped (weird to field name) and either a separate modified copy of this JavaScript program will have to be created, or a more ambitious use of a server side include would have to be attempted.

Full Name Field
Fully Qualified Address

Fight Spam! Join CAUCE!
In Assoication with Half.Com, an eBay company
In Association with Amazon.com

frame bar
spacer Creative Commons License
The website "Redline" by Roland J. Stolfa is licensed under a Creative Commons Attribution-ShareAlike 3.0 United States License.
  [Home]    [Downloads]    [Downsizing]    [Writings]    [Crafts]    [Living]    [Family]    [Toys]    [Cryptography]    [Fun Links]    [Site Credits]    [Personal Info]    [Privacy]    [Site Map]    [Search]    [Email Me]