change the cf_inputbox required validate-date

Fritz 11 Nov, 2009
How i can change the date fields of the class cf_inputbox required validate-date in the european format "dd/mm/yyy"?
The required data field continue to require the American format "yyyy/mm/dd" that I did not go well.
GreyHead 11 Nov, 2009
Hi Fritz,

Use validate-date-au (au for australia obviously!) for dd/mm/yyyy or validate-date for the international yyyy/mm/dd (The quirky US version of mm/dd/yyyy isn't supported out of the box.)

Bob
Fritz 11 Nov, 2009
Thanks Bob (as usual!)

I followed your advice and it works. I point out however that the wizard, even choosing the AU option/flag, does not insert the command that you have specified.
The correct command is:

<input class="cf_inputbox required validate-date-au" ...[cut]
GreyHead 11 Nov, 2009
Hi Fritz,

Oops , my mistake. I'l fix my post.

Bob
This topic is locked and no more replies can be posted.