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

SOLVED

Automatically / Dynamically jump to next page?

MSR1306
Level 4
Level 4

Say, I have 3 input fields on the screen, when user inputs on the last/3rd input field automatically the screen should jump to next screen, we want this functionality on all our screens of the app, some screens has 4 fields, some may have 3 fields, some are 6 fields, 10 fields etc... Pl. let us know either HTML code or JavaScript code, preferably HTML code

Thank you

1 Accepted Solution
MinusZero
Correct answer by
Level 7
Level 7

In the exit event (javascript) of the third field put:

//when the field is exited, the cursor will jump to the field specified.

xfa.host.setFocus("myField");

Be aware this will happen in all circumstances, like if you had to go back and edit the field, when exiting it will still focus on the field specified.

View solution in original post

2 Replies
MinusZero
Correct answer by
Level 7
Level 7

In the exit event (javascript) of the third field put:

//when the field is exited, the cursor will jump to the field specified.

xfa.host.setFocus("myField");

Be aware this will happen in all circumstances, like if you had to go back and edit the field, when exiting it will still focus on the field specified.

View solution in original post

_Bruce_Robertson
Level 10
Level 10

Are you developing a LiveCycle Designer PDF form?  There is no HTML in such a form.