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

Set Tab destination at end of form

Not applicable
Hi,



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?



Thanks,

Ron
3 Replies
pguerett
Level 10
Level 10
You can only tab with the boundries of a page. You can get back to another page by using setFocus.
Not applicable
Paul,



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.
pguerett
Level 10
Level 10
Put your code on the exclusion group instead of a the button.