Hi All,
I created a TV called press-release-date and selected
Input Type: Date
Widget: Date Formatter
When I go to a document that uses the template with this TV, clicking on the Calendar gives two javascript errors:
Line: 703
Char: 13
Error: Expected ’;’
Code: 0
Line: 703
Char: 22
Error: ’calnews’ is undefined
Code: 0
I tried using the Calendar on the "Publish Date" field in "Page Settings" and it DOES work.
A similar error was posted as [SOLVED] but no solution was posted, so I’m here to get it posted.
Thanks
-
MODX Staff
- 12,272 Posts
Remove the dashes in the TV name and it should work, per the original message in the original post.
Ryan Thrash, MODX Co-Founder
Follow me on Twitter at @rthrash or catch my occasional unofficial thoughts at thrash.me