amitfalana
Member
Hello.
I am controlling the visibility of various elements using the following JS code placed in form_X.js.
The visibility aspect works as expected, although the validation for hidden elements doesn't stop even after setting 'No' for the Validate Hidden.
Am I missing something, or is there an issue with the above JS code?
I am controlling the visibility of various elements using the following JS code placed in form_X.js.
JavaScript:
function hideElement(target) { jQuery(target.element).closest('.fabrikElementContainer').addClass('fabrikHide');
}
function showElement(target) { jQuery(target.element).closest('.fabrikElementContainer').removeClass('fabrikHide');
}
The visibility aspect works as expected, although the validation for hidden elements doesn't stop even after setting 'No' for the Validate Hidden.
Am I missing something, or is there an issue with the above JS code?