Announcement

Collapse
No announcement yet.
X
  • Filter
  • Time
Clear All
new posts

    Keep focus within a form

    Hi,
    I build a complex ui with multiple forms and grids visible at the same time. When the user has the focus in one form I would like that when tabbing through the fields that he/she remains in the form, so after tabbing-out of the last field that the focus moved back to the first field.

    In my current implementation the focus moves to other parts of the application which are less obvious for the user.

    Is there a standard way to achieve this (so that the user tabs around in the same form)?

    gr. Martin

    #2
    First, consider that doing so would break accessibility. But if you wanted to do this, you'd place a focus handler on the last element in the loop and force focus back to the first.

    Comment

    Working...
    X