# No tabbing after setFocus

**URL:** <https://forum.kirupa.com/t/no-tabbing-after-setfocus/66985>\
**Category:** flash\
**Created:** [October 11, 2004, 6:54pm UTC](https://forum.kirupa.com/t/no-tabbing-after-setfocus/66985 "2004-10-11T18:54:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jwhitmill](https://avatars.discourse-cdn.com/v4/letter/j/e47c2d/32.png) [@jwhitmill](https://forum.kirupa.com/u/jwhitmill)\
**Post date:** [October 11, 2004, 6:54pm UTC](https://forum.kirupa.com/t/no-tabbing-after-setfocus/66985/1 "2004-10-11T18:54:38Z")

</div>

I have a form where I place the cursor in the first dynamic text field using

Selection.setFocus(nameField);

This works fine, except that hitting the tab key will not move the cursor to the next dynamic text field (in this case, companyField).

I tried

companyField.tabIndex = 1;

and

companyField.tabIndex = 1;

but neither works.

Is there a way to use the setFocus statement and still enable tabbing?

Thanks.
