Copy link to clipboard
Copied
Hi there:
I've searched through the community and found some answers, but not quite what I need. I have a pdf form that I need to require some fields based on an answer.
The first is NAME1. If they filled out NAME1 (it's not a required field as there may not be a name there), then I need EMAIL1 and PHONE1 to be required.
The second is a radio button named ALLERGY with the value of Yes. If they check Yes, then I need them to be required to answer EXPLANATION and PLAN, as well as check a box named ACKNOWLEDGE. My javascript knowledge is pretty poor. Can someone please help?
Thank you,
Christie
Copy link to clipboard
Copied
Before we help you achieve this, do you understand that the "Required" property is only enforced when the file is submitted? Not when the user enters data, saves the file, prints it, or anything else.
Copy link to clipboard
Copied
Yes, they don't want the form being submitted without these fields required.