Expand my Community achievements bar.

Set Tab destination at end of form

Avatar

Former Community Member
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

Avatar

Former Community Member
You can only tab with the boundries of a page. You can get back to another page by using setFocus.

Avatar

Former Community Member
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.

Avatar

Former Community Member
Put your code on the exclusion group instead of a the button.