When the form is rendered, any date field with a default value set (tried %date and %today), displays December 31 1969.

Comments

quicksketch’s picture

Category: bug » support

The second sentence of the help text for the date field is:

Accepts any date in any GNU Date Input Format. Strings such as today, +2 months, and Dec 9 2004 are all valid.

Enter today to use the current date. The % symbol is used when you want to reference %profile or %server variables.

quicksketch’s picture

Status: Active » Closed (fixed)
interface-web design’s picture

Version: 5.x-2.0-beta3 » 6.x-2.7

I have included a date field in a webform and given the default as "date".

The form displays the current date as the date the webform was created rather than the date the webform is being accessed.

Is there a way to get the default date setting as the current date the form is accessed by a user?