View Full Version : text fields. Laying them out, so that tab cycles properly.
upuaut8
April 22nd, 2002, 07:18 AM
Ok.. I have a form, with input text fields, and static text labels between each...
like this
(static) name
(input) name
(static) email
(input) email
(static) site
(input) site
(static) comment
(input) comment
then a submit button. on the right hand side of all of these fields.
It seems that when I press tab, instead of cycling from one input text field to the next, and then ending with the highlight on the submit button, it keeps tabing up to the "Address" line of my browser.
I'd rather it tabed through each of the text fields.
Has anyone else ever encountered this, and did they come up with a solution?
upuaut8
April 22nd, 2002, 08:12 AM
I don't know... looking at a few of the all flash sites I notice a couple of things that just plain bug the hell out of me.
My mouse rolling wheel does not work... this is really obvious.. but you know I just never really noticed it as an issue. As flash sites become more and more the rage, it seems text manipulation becomes more of a problem.
I wonder if there is a javascript way of understanding third buttons on the mouse, "wheelup", and "wheeldown". If so, there should also be a way of communicating that to Flash.
Tabing through the fields may be something as simple as how I layed out the fields.. in what order. I'm going to experiment around a little and see if I can figure it out.. it has to be easy. :)
eyezberg
April 22nd, 2002, 01:24 PM
Ah-hah, so you noticed :)
This is what my comment was about for the guestbook. Don't understand how it goes all the way up into the title bar..? Weird.
As for the wheelmouse, you're so right! I think a have seens'thing about this s'where, but where..? $hit! Too many links in my fav's!
suprabeener
April 22nd, 2002, 01:38 PM
check out TextField.tabIndex in the dictionary, i haven't looked into it, but i'm sure it will do what you need.
as for the wheel mouse, you could use a key code to get at it, 3 i think, but it was just clicks, no scrolls. mind you, that was v5 info, maybe mx has more flexibility that way.
suprabeener
April 22nd, 2002, 02:03 PM
4 = middle button / wheel.
upuaut8
April 22nd, 2002, 02:45 PM
Hey..thanks supra.. the guestbook couldn't have worked without your input.
I got another question for you.. would you look at the guestbook? If so, I need two things. A) I need to know how to make it smaller if I can, and B) I need a way of stoping it so that it wont turn the pages if it is at the first or last page. That last one is really baffling.
If you will, just let me know and I'll mail you the FLA
Powered by vBulletin® Version 4.1.10 Copyright © 2012 vBulletin Solutions, Inc. All rights reserved.