# How to set tabindex in date\_select

**URL:** <https://www.ruby-forum.com/t/how-to-set-tabindex-in-date-select/140655>\
**Category:** Rails\
**Created:** [June 17, 2008, 7:58am UTC](https://www.ruby-forum.com/t/how-to-set-tabindex-in-date-select/140655 "2008-06-17T07:58:43Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![ChandleWEi](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/c/6f9a4e/32.png) [@ChandleWEi](https://www.ruby-forum.com/u/ChandleWEi)\
**Post date:** [June 17, 2008, 7:58am UTC](https://www.ruby-forum.com/t/how-to-set-tabindex-in-date-select/140655/1 "2008-06-17T07:58:43Z")

</div>

\<%= date\_select(‘user’, ‘birthdate’, { :start\_year =\>  
80.years.ago.year, :end\_year =\> 12.years.ago.year } ) %\>

work in rails 1.2.2  
date\_select(object\_name, method, options = {})

I try many times but also didn’t know how to set tabindex in date\_select
