Skip to main content
Participant
February 21, 2024
Question

show/hide hyperlink based on radio selection

  • February 21, 2024
  • 1 reply
  • 742 views

Hi,

 

I am working with adobe acrobat pro. I have 2 radio buttons in the same group for simplicity they are yes and no radio buttons. They show 1 text field based on which one is selected. Basically, if yes is selected it will show a textbox with the next step and no will show a different one. However what I would like to do is have a link added that only shows when the "no" radio button is selected but disappears when "yes" is selected. It is only relevant to the "no" text and would cause confusion with the "yes" text. Is this possible? If so, how do I do this? I am familiar with JavaScript but far from an expert. 

 

Thank you for any help in advance.

This topic has been closed for replies.

1 reply

Thom Parker
Community Expert
Community Expert
February 21, 2024

Use a button field for the link. Then it can be hidden and shown using the same method that is used for the text fields. 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Participant
February 21, 2024

Thank you. That's a great idea!

bebarth
Community Expert
Community Expert
February 21, 2024

Hi,

I did an answer for a similar problem on this post:

https://community.adobe.com/t5/acrobat-discussions/dropdown-list-exporting-a-simplified-link/td-p/13488479

Please have a look, that could help you.

@+