Code
<!--[pnformdateinput id=purchasedate mandatory=1 group=ownership]-->
and the code it generates
Code
<input type="text" id="purchasedate" name="purchasedate" maxlength="12" class="text date" value="2009-10-01"/>Â * <img id="purchasedate_img" src="javascript/jscalendar/img.gif" class="clickable" alt="Select date" /></span>
// <![CDATA[
Calendar.setup(
{
inputField : "purchasedate",
ifFormat : "%Y-%m-%d",
button : "purchasedate_img",
firstDay: 0
}
);
// ]]>
// <![CDATA[
Calendar.setup(
{
inputField : "purchasedate",
ifFormat : "%Y-%m-%d",
button : "purchasedate_img",
firstDay: 0
}
);
// ]]>
Now, obviously the CDATA part is commented out, so I tried to fix it by uncommenting that in the pnformdateinput plugin, but it didn't help. I also note that there's a line in head:
Code
/* <![CDATA[ */ document.location.entrypoint="index.htm"; document.location.pnbaseURL="http://localhost/WrenchReminder/"; /* ]]> */
But I don't know if it has anything to do with the calendar.
Suggestions? The control fails with other themes than the one I'm using too.
edited by: bronto, datetimebrief
