Copy link to clipboard
Copied
I am creating a pdf form in which user selects the checkbox (or it can be radiobutton) (eg. field name:CheckBox1), I would like the image upload field (eg. fieldname: Image1) to be visible otherwise invisible. Is it possible?
Copy link to clipboard
Copied
A check-box is better, as a radio-button field can't be "un-selected" by clicking it.
Use this code as the field's Mouse Up event:
this.getField("Image1").display = (event.target.value=="Off") ? display.hidden : display.visible;
Copy link to clipboard
Copied
A check-box is better, as a radio-button field can't be "un-selected" by clicking it.
Use this code as the field's Mouse Up event:
this.getField("Image1").display = (event.target.value=="Off") ? display.hidden : display.visible;
Copy link to clipboard
Copied
Thank you works perfect. try67​
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more