MyBB Community Forums

Full Version: Change Tab Order In New Thread
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

How to change Tab order in New Thread.

I want this
User choose prefix any of these - Error Message/General/HowTo or any other after that when user press Tab cursor goes to subject box.

If any understanding issue please let me now.

So go to AdminCP > Templates & Styles > Templates > Choose your theme > New Thread Templates > newthread

What you want to do is use the "tabindex" attribute to specify the order of each field.

For example if you want the subject field to be the 3rd box selected on tab, you'd specify it like so:

Quote:<input type="text" class="textbox" name="subject" size="40" maxlength="85" value="{$subject}" tabindex="3" />
Its not working. Because prefix and subject both are in same tabindex.

Any one more who can help me.
Any one.

When I open to create new thread cursor is on Subject box. I need cursor on prefix then when user choose prefix and press tab it goes to subject box.
Any one
Any one