Thanks, if set t:inputCalendar property required="false" for the optional date field, it does return null this time. However, if the field in the backend database is a required attribute, it will return the current date even when the property required="false" and user provides nothing. Thanks a lot.
[EMAIL PROTECTED] wrote: > > In my experience, I get a null back when the user enters nothing. > There is a field that is a "date format help" or similar, that initially > gets displayed. Have you tried setting that? > > On Thu, 2008-02-21 at 10:23 -0800, allpurpose wrote: >> So you guys don't have any problem with t:inputcalendar? How can it force >> user input to be default as today when it is not a required field? >> >> >> >> allpurpose wrote: >> > >> > Hi, >> > >> > I have a date field which is not required for the form submission. The >> > t:inputcalendar seems fill the field with a default date (today) when a >> > user doesn't provide any value, which is not disrable. >> > >> > Is there anyway to disable the default date? >> > >> > Thanks a lot. >> > >> > > > -- View this message in context: http://www.nabble.com/How-to-disable-default-date%28today%29-for-t%3AinputCalendar-componenet--tp15604965p15618722.html Sent from the MyFaces - Users mailing list archive at Nabble.com.

