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're retiring the forums!

The SilverStripe forums have passed their heyday. They'll stick around, but will be read only. We'd encourage you to get involved in the community via the following channels instead:

General Questions /

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

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

Datefield not showing calendar


Go to End


564 Views

Avatar
socks

Community Member, 191 Posts

21 January 2014 at 3:41pm

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