Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn More

View all

Sign in to view all badges

Cursor

Avatar

12-06-2008

Hello all,



I was wondering if there is away or code that automatically puts the cursor to a specific field if the user enters a certain answer in another field?



Thanks



Shane C

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

12-06-2008

You can use the xfa.host.setFocus("fieldname") to move the cursor



so you will have on the exit event of the field that you want to test:



if (this.rawValue == "answer you want to test"){

xfa.host.setFocus("fieldname of where you want to go");

}