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:

Archive /

Our old forums are still available as a read-only archive.

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

calendar problem: behaviour is not defined

Go to End



Community Member, 193 Posts

7 November 2008 at 3:35am

I try to implement calendar using

new CalendarDateField(
$name = "calendar",
$title = "Calendar",
$value = "01/02/2008"

I see form and calendar image but when I click on image nothing happen, I can't see pop-up with calendar. My firebux mozilla tool show me a problem in calendar-setup.js:

Behaviour is not defined
Behaviour.register( {

Can youl help me? when I use calndar in CMS for article page (explain in tutorial 2) calendar is ok.