Jump to:

17452 Posts in 4473 Topics by 1971 members

Archive

SilverStripe Forums » Archive » CalendarDateField front-end error

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

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

Page: 1
Go to End
Author Topic: 1160 Views
  • StuM
    Avatar
    Community Member
    56 Posts

    CalendarDateField front-end error Link to this post

    Hi All,

    I've added a CalendarDateField to a front end form, but it doesn't work, seems it's not loading all of the required Javascript files. it only loads:

    Requirements::javascript("jsparty/calendar/calendar.js");
    Requirements::javascript("jsparty/calendar/lang/calendar-en.js");
    Requirements::javascript("jsparty/calendar/calendar-setup.js");

    but it needs more, behaviour.js for example. I added behaviour manually through the form, and it's complaining about other missing JavaScript.

    Has anybody else come across this, and have a list of files required to make it work???

  • StuM
    Avatar
    Community Member
    56 Posts

    Re: CalendarDateField front-end error Link to this post

    OK, solved myself, just added prototype as well and it works

    1160 Views
Page: 1
Go to Top

Want to know more about the company that brought you SilverStripe? Then check out SilverStripe.com

Comments on this website? Please give feedback.