A Flash Developer Resource Site

Results 1 to 2 of 2

Thread: tabing path across input fields?

  1. #1
    Member
    Join Date
    May 2002
    Posts
    68

    tabing path across input fields?

    Hello,

    I have been tooling around with the php mail form bellow. I was wondering how you control the order to the input fields when you tab to the next field. As it exists you type your first name <tab> takes you to last name <tab> takes you to comments when it should really take you to email, company, telephone, comments.

    How can I fix this?

    http://www.flashkit.com/movies/Utili...4983/index.php

    Thanks for any help!!!

    mrt :::

  2. #2
    Bacon-wrapped closures Nialsh's Avatar
    Join Date
    Dec 2003
    Location
    Houston!
    Posts
    338
    say your text fields are ordered like this (field1,field2,field3,...) and you want them to be tabbed to in that order. Just use tabIndex property. The parameter is the order in which you want things to be selected (positive integers, with 1 being the first)
    field1.tabIndex(1);
    field2.tabIndex(2);
    and so on...
    Only the objects that have been indexed can be selected with the tab key.

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