Editor's review
A script package that helps validate JS forms including inputs to them.
This is a simple JavaScript script for form validation. It can be set up easily. It can be used to validate data in HTML forms before sending the data to a server. This can be a productivity tool as site developers will be able to use this ready to use JavaScript package without reinventing the wheel. You can specify certain form elements as "required" or "non-required" and their data types, whether text, password, numeric, zip code, etc. Being implemented in JavaScript these will be loaded faster especially on mobile devices. jQuery based modules are likely to be heavier. The script will ensure required elements are empty to start with, and the visitor has entered valid data into them before the form data is submitted to the server. Error notification is possible through into error`s container, with single field error message or with JavaScript Alert() function.
The code package is available as open source. This tool helps validate required/optional fields, confirm fields (email/password), number type such as if signed, unsigned, positive, negative, etc. strings if upper, lower, normal, phones if mobile, fixed (stationary), international, etc. data types numeric, integer, float, alphabetic, alphanumeric, text, email, password, regular expressions, login, Zip Code, URL, IP address, JavaScript Captcha, etc. Check box, radio buttons and drop down box checking are included. You can even have user defined templates. This is a handy tool for web developers. They will be able to save quite a bit of time in validating all kinds of forms they need to use.
User comments