Forum: Ruby on Rails Forms with date_select: How to set/leave a date to NULL?

Announcement (2017-05-07): www.ruby-forum.com is now read-only since I unfortunately do not have the time to support and maintain the forum any more. Please see rubyonrails.org/community and ruby-lang.org/en/community for other Rails- und Ruby-related community platforms.
(Guest)
on 2009-03-15 21:46
(Received via mailing list)
Hi,

minor question:

If I create a form where some entries are of type date (i.e. use the
form.date_select to create the form field), it does not allow to enter
a NULL date. Even if the user does not enter anything, it forces a
NULL date to become today's date.

Is there any (simple) way to give a date a NULL choice?

regards
Hadmut
This topic is locked and can not be replied to.