Menu
Ok, I have a form generated from asp with x amount of fields. I’d like to validate all of those fields to make sure they only contain integers. Simple to do loop on all form elements that are of type text… however there’s also another section of the same form with y fields that should contain text. That’s where I am hung up.
How can I validate them before submitting the form?
I can have all field names that need to be validated in an array if that helps.
var fields=new Array(“IntegerField1”, “IntegerField2”, “IntegerField3”,…);
Thanks ahead of time for your help, I really do need it and appreciate it.