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.

Data Model Questions /

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

CompositeDateField gives error when not required


Go to End


3 Posts   1416 Views

Avatar
Aug

Community Member, 7 Posts

18 February 2010 at 7:12am

I have added a CompositeDateField to a form. It is not in the required list. It still presents a javascript error: Please ensure you have set all date values when left blank. If I turn off javascript validation the FormAction is not sent.

Does anyone know of a solution to this problem?

Avatar
Willr

Forum Moderator, 5523 Posts

18 February 2010 at 10:15pm

What version of SilverStripe?

Avatar
Hamish

Community Member, 712 Posts

19 February 2010 at 7:58am

I get this error in 2.3.6