I am trying to make a form on which you can click a yes/no button and if you click the yes button, the email text field will be a required field, whereas the no answer would not require you to fill out the email address option. Thanks
Yes, you can accomplish this task without a script.
First add the radio buttons Yes and No. Then below that add the text field for email address.
Open the properties for the radio button "Yes". Click on Actions tab. Under "select trigger" choose mouse enter from the drop down menu. Under select action choose "show/hide a field" and click on "Add", you will get the Show/Hide field pop up window. Slect the email address field from the "select a field" list and click on the "Show" radio button to the right and click Ok. No open the email address properties. Click on General tab and under Common properties, select "hidden" from the form field drop down menu. Check the box for "Required" and "Locked" and click Close and save your document. Now the email address field is hidden and it will show up when the user select the radio button "Yes". And the email address is a required field. Use the same method above and set the properites for No button as "Hide" form field and choose the email address field. So when a user click on Yes first and later clicks on No, it will hide the email address field which is a required field.
One more CookBook with any coding 8-(
+