Copy link to clipboard
Copied
Hello guys. Im new to making PDF's with adobe acrobat. I need to create a checkbox that show or hides image. The idea is when the checkbox ir checked it shows the image, when the checkbox is unchecked it hides the image. Images will be stacked on each other. (ex like a drawing, when the checkbox is checked it shows the river, but when its unchecked it hides it)
Copy link to clipboard
Copied
I would look at using button fields and changing the icon being deiplayed by the buttom field.
Copy link to clipboard
Copied
Copy link to clipboard
Copied
Hi
Place this script in the checkbox (mouse up event):
if (event.target.value == "Off") {
this.getField("IMAGE_1").display = display.hidden;
}
else {
this.getField("IMAGE_1").display = display.visible;
}
Copy link to clipboard
Copied