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.

Archive /

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

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

CalendarDateField front-end error


Reply


2 Posts   1262 Views

Avatar
StuM

Community Member, 56 Posts

30 September 2008 at 4:28pm

Edited: 30/09/2008 4:44pm

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???

Avatar
StuM

Community Member, 56 Posts

30 September 2008 at 4:44pm

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