# Tab order vs onPress keyboard

**URL:** <https://forum.kirupa.com/t/tab-order-vs-onpress-keyboard/199619>\
**Category:** flash\
**Created:** [September 4, 2006, 4:53pm UTC](https://forum.kirupa.com/t/tab-order-vs-onpress-keyboard/199619 "2006-09-04T16:53:17Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![felipegm](https://avatars.discourse-cdn.com/v4/letter/f/e9bcb4/32.png) [@felipegm](https://forum.kirupa.com/u/felipegm)\
**Post date:** [September 4, 2006, 4:53pm UTC](https://forum.kirupa.com/t/tab-order-vs-onpress-keyboard/199619/1 "2006-09-04T16:53:17Z")

</div>

The website i´m working on has buttons to go foward and back on the links. The action are on Release and on Keypress \<right\>

But on the contact page, there´s a form, and the tab order defined:

//set tab order  
text1.tabIndex=1  
text2.tabIndex=2  
text3.tabIndex=3  
text4.tabIndex=4

the problem is that the taborder setting is disabling the Keypress action on the button.  
How can I overcome this problem?

thanks
