Hi, It is simple, but it's not straight forward. You just need to discard the year from select and add the proper name to the text field for year. You can refer it here for better example with code http://rubyonrailshacks.com/2010/07/how-to-modify-date_select-to-show-text-field-for-year/
regards, Sur http://rubyonrailshacks.com Cam wrote: > Hey all, > > Using date_select in a form, how can I make the Year field a > text_field instead of a select? It looks like it will take more than a > simple modification of the date_select method. > > Thanks in advance. > > Cam -- Posted via http://www.ruby-forum.com/. -- You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.

