Click to See Complete Forum and Search --> : Tabs in forms
carnwath
04-24-2003, 03:40 PM
Has anyone coded a method of tabbing and backtabbing through fields in a form?
I see a tab Key-input but no backtab so I have not figured out what to do other than ignore backtabbing and force the user to tab all around the fields and back to where he started.
Use a field counter to count the tabs but then what to do to place the focus of the cursor? I have not tried this in beta-4 yet.
Does beta-4 support object.focus() object.select()
DUH! I just realised it works in the swf OK its the internal editor/test display in 3dfa that was not handling the tabs - sorry, blame it on the Prozac
dniezby
04-24-2003, 09:25 PM
It would be great if you would post the coding here.
I have been trying to figure this out for some time.
carnwath
04-24-2003, 09:49 PM
In 3.72 at least, a form with multiple fields CAN BE navigated by tabbing and backtabbing, when running in the swf or html page.
What I said was DUH - it doesnt work while inside the 3dfa programming environment when clicking on the "view in browser" button.
At least not in my version.
dniezby
04-24-2003, 09:51 PM
What do you mean use a field counter?
How did you set it up in 3.72?
carnwath
04-25-2003, 04:08 PM
see my animator.swf in http://www.flashkit.com/board/showthread.php?s=&threadid=446963
The user can tab forwards/back I realise the tab sequence is wrong but not really too important in this particular app.
This entire topic is wrong-footed because I was testing inside the 3.72 development. The tabbing works fine in the .swf
The reference to field counting was therefore also wrong-footed, sorry.
However here's a new question.
How fully is the javascript language command set supported in 3dfa?
I saw an example that Brett used in the email validation post topic where he used indexOf with a string but I dont see it in the syntax list or help file. Can we assume that 3dfa is Netscape javascript compliant till our code falls over or should we request a fuller reference of available commands? I dont see indexOf in any of the beta versions and it does work in 3.72
blanius
04-26-2003, 12:54 PM
Now in V4 the scripting is nearly 100% action script compatible. So any Flash MX reference should work for you. Action script itself is a superset of javascript or the officail name is something like ESCM-212 or some such.
flashkit.com
Copyright WebMediaBrands Inc., All Rights Reserved.