Javascript odd validation question

Associate
Joined
4 Mar 2007
Posts
315
Location
United Kingdom
I usually stick to Ajax for validation, however my question would be; if I were to have, let say. twenty or so inputs on a screen and I wanted to validate ALL these inputs, including radio buttons, drop downs etc.

What would be the best way of doing so?

Is there a kind of foreach loop I can run for example?

I know I can validate in PHP and send the user back, but this is, well kind of pointless.

Regards,
 
Back
Top Bottom