Skip to main content
Participant
January 2, 2023
Question

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

  • January 2, 2023
  • 2 replies
  • 419 views

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.

This topic has been closed for replies.

2 replies

Participant
January 10, 2023

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

Thom Parker
Community Expert
Community Expert
January 2, 2023

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 PDFScriptingUse the Acrobat JavaScript Reference early and often