I have about 40 questions in a survey that need to be validated all the same way. What’s the easiest way to do this without writing every validation down?
For example: Every question must be a natural number, maxlength of 2, and value less than 12.
Using jQuery validation
without any details on your code – something like this could be a starting point: