I am new to PDF forms so sorry for my bad english
I have Acrobat X pro.
I would like to show text in text box when check box is "on" and when check box is off I would like to hide text in the text box.
Any help would be much appreciated
In the Mouse Up event of the check box, you could use the following script:
// Mouse Up script of check box
getField("text1").display = event.target.value === "Off" ? display.hidden : display.visible;
That hides/shows the entire field. If you just want to show/hide the text in the field and still display the field, you could do:
getField("text1").value = event.target.value === "Off" ? "" : "default text goes here";
Replace "text1" with the actual name of the text field.
Europe, Middle East and Africa