I have a form having a table containing many input boxes that will be filled with data from database, that the user will edit.
Upon saving, I want all the input boxes to be validated to check whether user has entered a valid data such as ‘numeric value only’ or the box is not empty?
Is there any easy/optimised way to check all the boxes before the submission?
Here is a simple javascript validator from javascript-coder.com, that lets you set rules.
It has a turtorial on how to set up.
And 10 Useful jQuery Form Validation Techniques and Tutorials has examples on how to do this in jquery.