I have Page breaks on a form and based on a Radio button in the first page it will display and hide the pages. It works well with Javascript, but it does not allow me to submit the form when I am hiding the pages because of the required fields in the hidden pages.
I cannot do this using Field Rules, tried to use the following code but that's also not working
if ($(this).is(':hidden')) {
$('.req input').each(function() {
//$(this).removeAttr('required');
$(this).prop('required', false)
});
}