Looking for ideas on this one. I have a form that has 8 "potential" sections, each with a field that needs to be mandatory, but only if that section is visible.
For any given submission between 1 and 8 of the fields may be visible, with the remainder hidden. This is the normal use of the form, so obviously just marking the field "mandatory" on all 8 won't work because the form will enforce it even on unused (hidden) sections.
So the idea is that is the section is visible I want to enforce that a field is not blank, while if the section is hidden do nothing.
Andy thoughts?