Displaying 1 result from an estimated 1 matches for "member_last_medical_d".
2006 Apr 10
1
Bizzare Date, DateTime, date_select issues
...d been using a statement to extract the current
year for use with some form field calculations.
<% currentyear = DateTime.now.year %>
And then further down several date_selects like the following,
<%= date_select "member", "last_medical_date", :id =>
"member_last_medical_date", :order => [:year, :month, :day], :start_year
=> (currentyear - 5), :end_year => currentyear %>
<label for="member_last_medical_date">Date of Last Medical Exam
(YYYY/MM/DD)</label><br>
The first statement subsequently stopped working! Now wit...