TrueFormValidator
TrueFormValidator is a set of javascript functions which frees web developers from having to write form validation code again and again . Most web developers know how time consuming and tedious it is to write client validation code for forms. Due to lack of proper debugging tools and IDE applications for Javascript, writing and fixing validation scripts can be a headache.
TrueFormValidator was created with just that purpose in mind. We at TrueLogic faced the same problem over the years and finally we have come up with our plugin script which saves us hours of coding and testing.
This script is a work in progress. Over time, it will be enhanced and improved according to usage and feedback received from its users.
[ Check out the Demo ]
Version: 1.5 released on 25th Mar,2011 size 8.8 Kb Download it
Version: 1.4 released on 11th Jan,2011 size 8.8 Kb Download it
Version: 1.3 released on 8th Oct,2009 size 11 Kb Download it
Version: 1.2 released on 8th Sept,2009 size 11 Kb Download it
Version: 1.1 released on 3rd Aug,2009 size 8 Kb Download it
Version: 1.0 released on 4th July,2009 size 8 Kb Download it
TrueFormValidator was created with just that purpose in mind. We at TrueLogic faced the same problem over the years and finally we have come up with our plugin script which saves us hours of coding and testing.
This script is a work in progress. Over time, it will be enhanced and improved according to usage and feedback received from its users.
FEATURES
- - Text Field Validations
- Empty fields
- Numeric fields
- Date fields
- Spaces in text
- Field starting with an alphabet
- Field containing only alphabets
- Email field
- - Dropdowns and Combo Boxes
- Non selected fields
- - Customizable error messages
- - Customizable date format
- - Each field can be checked for multiple validations
HOW TO USE THE SCRIPT
VERSION HISTORY
- Fixed email validation bug where it would not accept more than two dots in email
- Code is smaller in size than before
- Changed all validation logic to use regular expressions
- Code is smaller in size than before
- Fixed isAlphaStart() and isOnlyAlpha() functions to work with IE6
- Added validation for field values starting with an alphabet.
- Added validation for field values containing only alphabets.
- Added validation for email fields.
- Fixed bug where validation checks were not working for password text fields.
LICENSE AND TERMS OF USE
This software is licensed under BSD License, which provides the user of this code, complete rights to use, modify and change the code as required, in free or commercial software, as long as the original copyright notice is preserved with the modified distribution.
