Validate a form containing widgets with conditional visibility

Hello, I am using Form Validation to validate widgets that demand content.

However, some widgets only appear if other widgets have specific values. In that case, their fields are mandatory.

So, how can I use form validation only to require values if these widgets are visible?

2
3 replies