Skip to main content

This site requires you to update your browser. Your browsing experience maybe affected by not having the most up to date version.

We've moved the forum!

Please use forum.silverstripe.org for any new questions (announcement).
The forum archive will stick around, but will be read only.

You can also use our Slack channel or StackOverflow to ask for help.
Check out our community overview for more options to contribute.

All other Modules /

Discuss all other Modules here.

Moderators: martimiz, Sean, Ed, biapar, Willr, Ingo, swaiba

Userforms - International Date validation


Go to End


1175 Views

Avatar
x75

Community Member, 43 Posts

1 February 2011 at 2:28am

Hi,

I updated to the current master from github, so that the datepicker would use i18n::get_date_format for formatting the date.
I have set the format to German in the config.php: i18n::set_date_format('dd.mm.yyyy');
That works fine.

But if you mark the datefield as required you can't submit the form anymore. The jquery validation keeps complaining about the date.

Any idea what I could do?

Thanks
Johannes