Skip to main content
Participant
Jul 13, 2023 2:57 PM UTC
Question

Hide/show fields based on radial selection

I have a radial section with 4 options. They're connected so that only 1 option is allowed. I'm looking to have each option tie to fields in the form so that certain fields are hidden or showing if a specific radial option is selected.

 

In this picture, in the Reason area, there are 4 radials. If we select "New Drawing", I am trying to have the lower half of the screen to hide the 2 drop downs listed as well as the fields undert location, quantity, and tag #. If we select "New Revision", I want those hidden fields to show. How can I achieve this?

This topic is closed to new replies. Start a new post to keep the conversation going.

2 replies

Thom Parker
Community Expert
Community Expert
Jul 14, 2023 8:05 PM UTC

Here's a better article on the topic:

https://www.pdfscripting.com/public/Hiding-and-Showing-Form-Fields.cfm?sd=40

 

 

Translate
Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Nesa Nurani
Community Expert
Community Expert
Jul 14, 2023 4:36 AM UTC

We can't help you much if you don't share actual field names and radio button choices, along with conditions to show/hide fields.

Here is a tutorial on showing/hiding forms with script samples:

https://acrobatusers.com/tutorials/show_hide_fields/ 

Translate