Copy link to clipboard
Copied
Hi all, I have been struggling with trying to make a text field required based on a dropdown selection in an Adobe Sign form. I have a more complicated form created, but to prove out the script I created a very simple form with only a few fields:
Dropdown1 - drop down field with options "Authorize" or "Not Authorized"
Text1 - text box that is required to be filled
Text2 - text box that is not required, however, if "Authorize" is selected from the Dropdown1, I am hoping the properties of this will change to required.
Signature1 - signature box that is required
I originally had been trying to put the following script in the Dropdown1:
this.getField("Text2").required = event.value == "Authorize" ? true : false;
However, this property required script apparently does NOT work in Adobe sign.
Does anyone know of script that WILL WORK per the above?
Thank you!
Bob
Have something to add?
Find more inspiration, events, and resources on the new Adobe Community
Explore Now