Parent2 custom fields are still visible when Do not include a second parent/guardian is selected

Hi @sandra

On the Application Form, I have created some required custom fields for Parent 2. How do I hide these fields when I select the checkbox: Do not include a second parent/guardian.

Thanks