These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Bring cursor to highlighted field

rcabigao
Registered: Jul 23 2009
Posts: 3
Answered

I created a script that highlights a field based on input on another field. For example, if field1 is 1, field2 must not be zero. The script creates an alert that field2 cannot be zero. After pressing the OK button on the alert, the cursor stays on field1. Is there a way to bring cursor to field2?

Thanks.

Rene

My Product Information:
Acrobat Standard 9.1.1, Windows
try67
Expert
Registered: Oct 30 2008
Posts: 2398
Yes, the setFocus() method.

- AcrobatUsers Community Expert - Contact me personally at try6767 [at] gmail [dot] com
Check out my custom-made scripts website: http://try67.blogspot.com