Announcement Announcement Module
Collapse
No announcement yet.
spring form validation help Page Title Module
Move Remove Collapse
X
Conversation Detail Module
Collapse
  • Filter
  • Time
  • Show
Clear All
new posts

  • spring form validation help

    I have a jsp page that contains a spring form:form, a form:checkboxes that displays a group of options, and a form:checkbox that is a single option(which is the "none of the above" option). The logic is that at least one of the options in the form:checkboxes group be checked or the single checkbox option (none of the above) is checked and no other.

    I am having a hard time with validating this logic without using some kludgy JavaScript function that gets triggered by an onChange function that counts the checkboxes.

    Does anyone have a simpler suggestion or can point me to an example.

    Thanks
Working...
X