A Flash Developer Resource Site

Results 1 to 6 of 6

Thread: Tabs in forms

  1. #1
    Senior Member
    Join Date
    Mar 2003
    Posts
    136

    Tabs in forms

    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
    Last edited by carnwath; 04-24-2003 at 04:57 PM.

  2. #2
    Senior Member
    Join Date
    Jul 2001
    Location
    Tinley Park, IL
    Posts
    702
    It would be great if you would post the coding here.

    I have been trying to figure this out for some time.

  3. #3
    Senior Member
    Join Date
    Mar 2003
    Posts
    136
    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.

  4. #4
    Senior Member
    Join Date
    Jul 2001
    Location
    Tinley Park, IL
    Posts
    702
    What do you mean use a field counter?
    How did you set it up in 3.72?

  5. #5
    Senior Member
    Join Date
    Mar 2003
    Posts
    136
    see my animator.swf in http://www.flashkit.com/board/showth...hreadid=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

  6. #6
    KoolMoves Moderator blanius's Avatar
    Join Date
    Jul 2001
    Location
    Atlanta GA
    Posts
    5,244

    In v4 it's Action Script

    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.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  




Click Here to Expand Forum to Full Width

HTML5 Development Center