• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Hide/show fields based on radial selection

New Here ,
Jul 13, 2023 Jul 13, 2023

Copy link to clipboard

Copied

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?

TOPICS
Acrobat SDK and JavaScript , Windows

Views

135

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 13, 2023 Jul 13, 2023

Copy link to clipboard

Copied

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/ 

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Expert ,
Jul 14, 2023 Jul 14, 2023

Copy link to clipboard

Copied

LATEST

Here's a better article on the topic:

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

 

 

Thom Parker - Software Developer at PDFScripting
Use the Acrobat JavaScript Reference early and often

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines