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

If a Yes is selected from Radio button, how do I tell acrobat to go forward three tabs

New Here ,
Jan 02, 2023 Jan 02, 2023

Copy link to clipboard

Copied

I have a form that has 4 options for answers to questions.  In some quesions, a yes answer (button 1) will require and explanation.  If the user selects Yes, I would like the cursor to move to the explanation box.  Can anyone provide some way to simply do this?  Thanks in advance.

TOPICS
PDF forms

Views

86

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 ,
Jan 02, 2023 Jan 02, 2023

Copy link to clipboard

Copied

Put this code in the Mouse Up of the "Yes" radio button.

 

this.getField("ExplanationBox").setFocus();

 

the "ExplanationBox" text must be replaced with the exact name of the the explanation box on your form. 

 

 

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
New Here ,
Jan 10, 2023 Jan 10, 2023

Copy link to clipboard

Copied

LATEST

Thanks.  I'm almost ashamed that this very simple solution evaded me.  But I am grateful for your help!

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