I have a huge form (more than 100 questions), mostly radio button selections and a few text fields. I want to make sure every question is answered before the form can be submitted. Is there a way to iterate over the form elements to do this? Instead of manually writing out a check for each one? If I iterate over the form DOM, how do I know what type of form element it is? (Since radio buttons will be validated differently from text fields).
Ideas?