Fork me on GitHub

Tabbing through form fields in a module...  Bottom

  • I notice that you can tab through the fields of a mod's form with ease...until you dynamically create drop-downs...which seem to be omitted from the tab index.

    I added tabindex="x" to my dynamic menu code, and in fact, the first one works. My form goes in this order:
    text field
    text field
    dynamic drop-down
    dynamic drop-down
    dynamic drop-down
    text area
    text field
    check box
    submit

    The first two fields tab fine...the first drop-down works (with a tabindex of 3) but the next two drop-downs are skipped in the tab order...jumping straight to the text area, even though I've set their indexes to 4 and 5 respectively.

    Is there a post on this that I missed?

    Thanks,

    John

This list is based on users active over the last 60 minutes.