Primoris Software
HomeProductsPurchaseBlog







Download

FormClick Brings Unparalleled Ease to JavaScript Form Validation

FormClick saves time! Stop writing messy, complicated JavaScript validation code for each HTML input field! FormClick is a free reusable componenent that can be "dropped" into your web page and attached to your existing fields with minimal coding.

FormClick separates code from content! Validating fields with JavaScript has traditionally been time consuming and tends to make web pages harder to read with all of the extraneous validation code. Now validations that took many lines of code can be done with very little effort.

Figure 1: Side by Side Comparison

Just a small part of "their" validation Entire FormClick script block
Javascript Form Validation

Figure 2: A Simple Form

In the form below, FormClick uses Javascript form validation to ensure that DOB, a required field, is entered before the form can submit, and must be in the proper date format for this application, which is mm/dd/yyyy (although could just as easily be dd-mm-yyyy or any other format). The form will submit without a value in the SSN field as it is not required, but if there is a value, it must conform to the format specified to FormClick.

All of this was done with only 4 lines of JavaScript!

Date of Birth Social Security #

Installing FormClick on your Web Page

The FormClick ZIP archive comes with a manual and 3 example HTML files that will illustrate how easy it is to include FormClick in your web page. It can be added to any type of file: Cold Fusion, ASP, ASP.NET, PHP, JSP, HTML, etc.

Download FormClick now


If you are seeking rich, interactive GUI components to make your web pages and applications easier to use, don't forget to take a look at DateClick! Your users will appreciate the ability to enter any date in any format with a minimal amount of clicks!