I have an APEX application in which I hide some fields (Date Picker) based on user input with a dynamic action. Some of these fields are marked as “Required Fields” (obviously, if the dynamic action does not hide them) and have associated validation firing on submission.
How do I override the validation being fired if the field was hidden by the dynamic action?