Hi,
I am using "date_select" form helper to select the date.
My code is as follows:-
<%=date_select("post", "written_on", :prompt => { :day => 'Select day',
:month => 'Select month'}, :discard_year=>true)%>
It works.
But there is problem with the number of days for each month.
The days combobox has populated with the days from 1 to 31, but it is
not right in case of the month "Feb" as well as the months which has the
number of days are 30.
Is there a way to solve this problem? so that clicking on the month name
the corresponding days will change.
Thanks,
Tushar
--
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 rubyonrails-talk@googlegroups.com.
To unsubscribe from this group, send email to rubyonrails-talk+unsubscribe@googlegroups.com.
For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en.
No comments:
Post a Comment