Validation on hidden fields

Validation on hidden fields

Hi,

I want to know if there is a better way to add validation (make mandatory) to fields which conditionally show and hide. At the moment, it seems the recommended method to do this is to add deluge script in the validate form action to cancel the form submission if the field is empty. Another method would be to make your fields mandatory and add initial values for all of your hidden fields. I feel like Zoho can improve in this area by automatically bypassing the validation if the field is hidden. We really like the drag and drop form builder in Zoho, however, adding validation has been a significant pain point for us especially when there are a ton of conditional questions.

Isaac