# Tab Order for a Form

**URL:** <https://forum.kirupa.com/t/tab-order-for-a-form/189055>\
**Category:** flash\
**Created:** [May 12, 2006, 10:34pm UTC](https://forum.kirupa.com/t/tab-order-for-a-form/189055 "2006-05-12T22:34:10Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![troitone](https://avatars.discourse-cdn.com/v4/letter/t/ba8739/32.png) [@troitone](https://forum.kirupa.com/u/troitone)\
**Post date:** [May 12, 2006, 10:34pm UTC](https://forum.kirupa.com/t/tab-order-for-a-form/189055/1 "2006-05-12T22:34:10Z")

</div>

Here’s the code I’m using to dictate the Tab Order for my form.

\_root.name.tabIndex = 1  
\_root.email.tabIndex = 2  
\_root.message.tabIndex = 3  
\_root.send\_button.tabIndex = 4

But it’s not working right. First of all…it puts all this weird text in the text fields, and second it doesn’t go directly to the Send Button (my tabIndex4).

Any ideas…??

:hangover:  
Troitone
