So I created a TV with an input type of "Date".
When I go into my document I have the following:
Date of event (not set) [] []
When I click on the first button to pop up the calendar, firebug returns an error
missing ; before statement
var calDate of win = new calendar1(document.forms[’mutate’].elements[’tvDate of...
-
MODX Staff
- 10,725 Posts
First, try not using spaces in your TV name. That causes all kinds of problems from saving to what you are experiencing.
wow.. I can’t believe I did that. I’ve never written one with spaces before.. figures it would be when I was working with a date type..
I’m wondering why modx allows us to create them with spaces..
Ok, great well that solved my problem.
Thanks.