# tabIndex not working for select or textarea in form\_for

**URL:** <https://www.ruby-forum.com/t/tabindex-not-working-for-select-or-textarea-in-form-for/178501>\
**Category:** Rails\
**Created:** [November 5, 2009, 3:29pm UTC](https://www.ruby-forum.com/t/tabindex-not-working-for-select-or-textarea-in-form-for/178501 "2009-11-05T15:29:27Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jmaenpaa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9de053/32.png) [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Post date:** [November 5, 2009, 3:29pm UTC](https://www.ruby-forum.com/t/tabindex-not-working-for-select-or-textarea-in-form-for/178501/1 "2009-11-05T15:29:27Z")

</div>

Hello all,  
Maybe this is something easy to solve but I can set all my text\_field  
tabIndex by { :tabIndex =\> ‘2’}. When I try to do the same for the  
select or the textarea it doesn’t work. Is there something I’m missing?

Thank you.

John

---

<div class="post-metadata">

**Author:** ![jmaenpaa](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/9de053/32.png) [@jmaenpaa](https://www.ruby-forum.com/u/jmaenpaa)\
**Post date:** [November 5, 2009, 3:47pm UTC](https://www.ruby-forum.com/t/tabindex-not-working-for-select-or-textarea-in-form-for/178501/2 "2009-11-05T15:47:49Z")

</div>

Solved my own issue.

Here’s what I’ve found…

- new.html.erb -
