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

SetFocus method

mtavares
Registered: Apr 14 2011
Posts: 25
Answered

hi,
I've try use the method SetFocus() into a page and it's work fine. But when i try use it to go to another page and another item like a text field it's don't work.
 
The that i use is above...
 
xfa.host.setFocus("name_of_field_in_another_page")

Manuel Tavares

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Accepted Answer
Are you using the Fully qualified SOM Path to the target field?

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

mtavares
Registered: Apr 14 2011
Posts: 25
Thanks!
The problem was exactly this. The Path was incomplete!


Thank, one more time!!

Manuel Tavares