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

Avatar

29-10-2008

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

Replies

Avatar

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

29-10-2008

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

Avatar

29-10-2008

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

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile

Avatar
Boost 500
Level 10
pguerett
Level 10

Likes

612 likes

Total Posts

7,689 posts

Correct Reply

692 solutions
Top badges earned
Boost 500
Boost 50
Boost 5
Boost 3
Boost 250
View profile
pguerett
Level 10

29-10-2008

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