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.

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


1353 Views

Avatar
bebabeba

Community Member, 193 Posts

7 November 2008 at 3:35am

Hi!
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.