Jump to:

10979 Posts in 2722 Topics by 1815 members

All other Modules

SilverStripe Forums » All other Modules » Userforms - International Date validation

Discuss all other Modules here.

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

Page: 1
Go to End
Author Topic: 717 Views
  • x75
    Avatar
    Community Member
    42 Posts

    Userforms - International Date validation Link to this post

    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

    717 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.