Skip to main content
gamzes93533812
Known Participant
October 23, 2017
Answered

image hide/show on checkbox

  • October 23, 2017
  • 1 reply
  • 1128 views

I am creating a pdf form by using Acrobat, and I would like to associate a checkbox to an image.

In particular, I want to display an image if a user clicks on the corresponding checkbox, and hide the image again when user removes the check.

How can I refer to an image? Is it possible?

I would appreciate any simple js code examples  for achieving this.

This topic has been closed for replies.
Correct answer try67

Create a button field and set the image as its icon. Then you could simply show/hide the button.

1 reply

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
October 23, 2017

Create a button field and set the image as its icon. Then you could simply show/hide the button.

gamzes93533812
Known Participant
October 24, 2017

try67​ thanks but checkbox does not come with a custom icon, or I misunderstand your explanation.

try67
Community Expert
Community Expert
October 24, 2017

Right. I was talking about a button field, which the check-box will show/hide.