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.

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


1016 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