DEPRECATION WARNING

This documentation is not using the current rendering mechanism and is probably outdated. The extension maintainer should switch to the new system. Details on how to use the rendering mechanism can be found here.

date

Checks if the submitted value is a valid date, and the format is equal to the one set in TypoScript.

The format configuration is like the PHP strftime() conversion specifiers. The message shown to the visitor supports the format as well, but will be shown to the visitor in a human readable way. %e-%m-%Y becomes d-mm-yyyy in English.

element

Description:
See general information for element.

error

Description:
See general information for error.
Default:
local language:"The value does not appear to be a valid date"

format

Property:
format
Data type:
strftime-conf
Description:

The format of the submitted data.

See the PHP-manual (strftime) for the codes, or datatype "strftime-conf" in the TYPO3 document TSref.

Default:
%e-%m-%Y

message

Description:

See general information for message.

The %format marker will be replaced with a human readable format. %e-%m-%Y becomes d-mm-yyyy in English.

Default:
local language:"(%format)"

showMessage

Description:
See general information for showMessage.

[tsref:(cObject).FORM->rules.date]