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   806 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, 5513 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