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.

Data Model Questions

CompositeDateField gives error when not required


Reply

3 Posts   726 Views

Avatar
Aug

18 February 2010 at 7:12am Community Member, 7 Posts

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

18 February 2010 at 10:15pm Forum Moderator, 5511 Posts

What version of SilverStripe?

Avatar
Hamish

19 February 2010 at 7:58am Community Member, 712 Posts

I get this error in 2.3.6