PDA


View Full Version : welcome block


bridges
02-08-2007, 11:00 PM
I have some users complaining of the tab order in the welcome block.

After a user enters their username, they hit TAB but it doesn't go to the password box, it goes to the Remember me checkbox and if they TAB again, it still doesn't go to the password box it goes to the register now link. How would I go about getting the TAB order changed so when after entering the username it goes straight to the password entry?

Thank you.

ddr
02-17-2007, 07:41 AM
u need to add correct tabindex arguments to all form fields

Brian
02-17-2007, 01:35 PM
If you'll look in your adv_portal_welcomeblock template for 2 instances of this code:

<input class="bginput" name="vb_login_username" size="12" type="text" />
Replace both with:
<input class="bginput" name="vb_login_username" size="12" type="text" tabindex="577" />

Then find 2 instances of this code:
<input class="bginput" name="vb_login_password" size="12" type="password" />

Replace both with this:
<input class="bginput" name="vb_login_password" size="12" type="password" tabindex="578" />

And that should take care of the problem.