Hi,
I've written some javascript to conditionally show/hide a section of a form based on a yes/no radio button click. This is working great but, I want to be able to set the fields in the hidden section to mandatory if I select "yes" and non-mandatory if I select "no". At the moment, when I hide the fields and submit the form, I get a "field is required" so I want to disable this if the section is hidden.
I understand I can do this in PowerApps using an expression, is this possible in power pages?
Regards,
Jon.