flash data integration:
I have inserted a data base page into my web site. I am using the input text option to have users input their information into my data base. When I test the page and I use the tab key to switch to the next entry text box the cursor moves in a random order. How do I control the order in which one can move around the text boxes. Also, whne one hs input all of their information and am not sure how to have that information sent to me via email. I am using Flash MX.
Hi, use tabindex method instancename.tabIndex eg: inputxt1.tabIndex = 1; inputxt2.tabIndex = 2; inputxt3.tabIndex = 3; inputxt4.tabIndex = 4;
Thanks for the help. I am still having trouble though. I am using Flash MX and when I use the tabindex method I input all of my information then when I go to apply the information the program asks me for a target. My code looks like this as of now. city.createTextField("this is my first test field object text",1,50,50,200,100); inputxt1.lastname.tabindex=1; inputxt2.middle.tabindex=2; inputxt3.firstname.tabindex=3; inputxt4.street.tabindex=4; inputxt5.apt.tabindex=5; inputxt6.city.tabindex=6; inputxt7.state.tabindex=7; inputxt8.zip.tabindex=8; inputxt9.relationship.tabindex=9;
I would like to tab from street to apt but the computer keeps defaulting from street to city. My index feild goes as so last name M first name street apt city state zip relationship. One last thing. When I finally am able to have someone input their information into my text field how do I have that information sent to me via email?
If you read the first post carefully, notice the last two words: Flash MX. (not that is not Flash 04!) - But yes, correct capitalization is good to have... 3 Problems: 1) inputxt# should be replaced with the instance name of your textfield. 2) tabIndex has a 0-based index. So, the first tabIndex should be 0. 3) tabIndex won't work unless tanEnabled is true for each textfield. To remedy: Use this actionscript instead: city.createTextField("this is my first test field object text",1,50,50,200,100); lastname.tabEnabled = true; middle.tabEnabled = true; firstname.tabEnabled = true; street.tabEnabled = true; apt.tabEnabled = true; city.tabEnabled = true; state.tabEnabled = true; zip.tabEnabled = true; relationship.tabEnabled = true; lastname.tabIndex=0; middle.tabIndex=1; firstname.tabIndex=2; street.tabIndex=3; apt.tabIndex=4; city.tabIndex=5; state.tabIndex=6; zip.tabIndex=7; relationship.tabIndex=8;
Don't see what you're looking for? Try a search.
|