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.

General Questions

General questions about getting started with SilverStripe that don't fit in any of the categories above.

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

Datefield not showing calendar


Reply

156 Views

Avatar
socks

21 January 2014 at 3:41pm Community Member, 190 Posts

SS3.1.2

I have a custom form and the calendar for the Datefield isn't showing.

...
DateField::create('Custom5_StartDate', 'Start Date:')->setConfig('showcalendar', true)
...

I didn't see anything in the documentation saying to do anything beyond the code I have above. Having said that, I assume it needs jQueryUI for the calendar like Userforms, but I don't see those assets being loaded.

thanks