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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Set Tab destination at end of form


Not applicable

Anybody know how to set the tab destination at the end of a form? When the user gets to the last field on page 5 and hits tab, they end up on page 4 at a hyperlink field. I would like to direct that last tab back to page 1 or to the top of the same page.

I could use a setFocus on the Exit event, but it would fire whether you used the tab or mouse to leave the field, which is not desirable. It should work only if the tab is used. Any ideas?


3 Replies


Level 10
You can only tab with the boundries of a page. You can get back to another page by using setFocus.


Not applicable

The setFocus on Exit didn't work for me. It fired even when I used the mouse to move off the last field and clicked another field on the same page. By the way, my last field is two radio buttons tied together.

Any way to make a tab on the last field go to first field on same page or not tab and stay on last field. Thanks.


Level 10
Put your code on the exclusion group instead of a the button.