search for: project_client_deadline_date

Displaying 1 result from an estimated 1 matches for "project_client_deadline_date".

2006 Jul 31
1
validate date field
hi, Below is an example of a text field I have, which works fine, until you enter an invalid date such as Feb 31st, which doesn''t exist Is there a way of checking this easily and returning an error message like validates_presence_of does ? <p><label for="project_client_deadline_date">Client Deadline Date:</label><br/> <%= date_select ''project'', ''client_deadline_date'',:order => [:day,:month,:year] %></p> -- Posted via http://www.ruby-forum.com/.