Automatically / Dynamically jump to next page?

Avatar

Avatar

MSR1306

Avatar

MSR1306

MSR1306

04-06-2018

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

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar

MinusZero

Avatar

MinusZero

MinusZero

04-06-2018

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.

Answers (1)

Answers (1)

Avatar

Avatar

_Bruce_Robertson

MVP

Total Posts

1.8K

Likes

268

Correct Answer

371

Avatar

_Bruce_Robertson

MVP

Total Posts

1.8K

Likes

268

Correct Answer

371
_Bruce_Robertson
MVP

05-06-2018

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