Skip to main content
Inspiring
August 14, 2023
Answered

spawned pages go to page

  • August 14, 2023
  • 1 reply
  • 478 views

I use checkboxes on a single page to spawn other pages. The cursur prompt is automatically sent to the last page spawned. Is there a way to keep the cursur prompt from not leaving the 'checkboxes' page? Thanks in advance!

This topic has been closed for replies.
Correct answer Thom Parker

Add this line to the end of the spawn script.

 

event.target.setFocus();

 

 

1 reply

Thom Parker
Community Expert
Thom ParkerCommunity ExpertCorrect answer
Community Expert
August 14, 2023

Add this line to the end of the spawn script.

 

event.target.setFocus();

 

 

Thom Parker - Software Developer at PDFScriptingUse the Acrobat JavaScript Reference early and often
Inspiring
August 15, 2023

Yeo, that'll do it!!! Thank you Thom for all you do!!!!