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

Set conditional formatting for access to form fields in Acrobat Pro

New Here ,
Sep 13, 2023 Sep 13, 2023

I would like to set up conditional formatting to make it to where a certain field cannot be written in on a digital form unless a specific option is selected from a radio button group.

 

Form example image. When the person filling the form selects "other", only then should they be allowed to enter text into the text field to the right. If they don't select "other", then they should not be able to enter text. How do i make this happen, if it is a posiblity at all?

BlueGuys32266693mbx1_0-1694626459628.png

 

TOPICS
How to , PDF , PDF forms
208
Translate
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 ,
Sep 13, 2023 Sep 13, 2023
LATEST

Use this as custom calculation script of text field and change "Radio button name" with the actual name of your radio buttons:

event.target.readonly = this.getField("Radio button name").valueAsString == "other" ? false : true;

 

Translate
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