[Accepted] Add tabindex to posting form HTML

Started by Joel, August 03, 2003, 01:11:36 PM

Previous topic - Next topic

Joel

For those of us that are keyboard nuts, it's handy (and extremely easy) to add a bit of logical order to the posting forms with tabindex. I would suggest setting the subject input box to 1, the message box to 2, and the post button to 3.

Then you can write your subject, tab once to the message box, write your post, tab once to the post button, hit enter, and voila! ;)

Daniel D.

I wrote that a few days ago... ::) Look for the subject.

Joel

My apologies. What topic was this in? I searched for "tabindex" and "form(s)" as well as scanning this board but came up empty.

[Unknown]

I can't remember how to do this.. anyone mind reminding me?  I know it's just something in the HTML...

-[Unknown]

A.M.A

I guess with the new theme system you only need to add (tabindex="x") to each element  :-\
Really sorry .. real life is demanding my full attention .. will be back soon hopefully :)

jpaq

#5
<FORM action="..." method="post">
<P>
<INPUT tabindex="1" type="text" name="field1">
<INPUT tabindex="2" type="text" name="field2">
<INPUT tabindex="3" type="submit" name="submit">
</P>
</FORM>

The way this works is basically anything with a tab index gets tabbed to first, in the order specified.  After that it hits anything without a tab index in the order it is on the page.

-- Jeff

Metho

Joshua "Methonis" Frazer
Support Specialist
The Simple Machines Team

[Unknown]

I feel stupid.  Thanks. (not being sarcastic, you didn't cause my stupidity I did.)

Done...

-[Unknown]

Joel


Advertisement: