1 Reply Latest reply on Mar 22, 2013 1:19 PM by George_Johnson

    Required Fields

    1098Brianna

      How do I make a field required ONLY when a previous field has been filled in. Example: If you fill in blank 1, then you have to fill in blank 2

        • 1. Re: Required Fields
          George_Johnson MVP & Adobe Community Professional

          If the second field is a text field, you could use the following as its custom calculation script:

           

          // Set this field to required if "text1" is not blank

          event.target.required = getField("text1").valueAsString;

           

          Replace "text1" with the actual name of the field.