Skip to main content
andreak91702846
Participant
April 28, 2017
Answered

pfd form java radiobutton script to make an image visible hides other images

  • April 28, 2017
  • 2 replies
  • 1296 views

I have two sets of radio buttons. When selected e.g. button 1 from the first group image 1 appears.

It works fine with java script this.getField("my_image1").display = display.visible;

But if I click a radio button from  the second group to show another picture at another location in the document the image 1 disappears.

Thanks for any help

Thomas

PS: Just found out that any next click in the document makes the pictures disappear

This topic has been closed for replies.
Correct answer try67

Dateien freigegeben - Acrobat.com

Hope that worked...


You added a command to hide the image fields on the On Blur event of the radio-button, so of course it's being hidden... Why did you do that?

2 replies

JR Boulay
Community Expert
Community Expert
April 30, 2017

In Acrobat it is OK for years, but in other softwares (Scribus…) we have some fancy French translations for the "Blur" event.

In Acrobat it is : "Champ désactivé", same meaning as in German.

Acrobate du PDF, InDesigner et Photoshopographe
try67
Community Expert
Community Expert
April 28, 2017

Are there any scripts associated with the image fields themselves?

andreak91702846
Participant
April 28, 2017

Hi try67

Thanks for answering. No, i have removed the scripts from all images.

try67
Community Expert
Community Expert
April 28, 2017

Can you share the file in question with us (via Dropbox, Google Drive, Adobe Cloud, etc.)?