Copy link to clipboard
Copied
Hello Community,
I am trying to make a Text field "Details" appear after click the option "Yes, conditionally" only. If this option is not selected then it would the Text field "Details" will be hidden.
This is the code I am using and it is not working but I cant figure out why:
var nHide = (event.value=="Yes")?display.visible:display.hidden;
this.getField("Details").display = nHide;
Copy link to clipboard
Copied
The code seems fine. What's the issue with it, exactly?
Copy link to clipboard
Copied
Nothing is happening, it wont work but im not sure if there is an additional thing I should do in my adobe acrobat settings?
Copy link to clipboard
Copied
- Where did you place the code?
- Did you check the JS Console after changing the value of the field to make sure there are no error messages?