AnsweredAssumed Answered

onSubmit Help

Question asked by GregBunce on May 6, 2016

I am trying to validate fields in an IRF when a form is submitted using the onSubmit function.

Basically, when the form is submitted, I want to validate a series of check boxes to make sure at least one of them has been selected, and if not STOP THE SUBMISSION.

 

Is it possible? I can run the validation and return an alert message, but the form still submits. I'd like to stop the submit and return to the page/field where the required check boxes are

Outcomes