Date Picker - won't publish due to incorrect format
I've got a doc type that uses the date picker control, and when I go to publish the page after setting a value, it throws the "you need to fix something" error and states that the date in the date picker is not in the correct format. We upgraded this site from an existing 4.0.2.1 installation from a long time ago (because the client had so much data in it) and haven't had any issues for a few months. I guess we never needed to change any dates after the upgrade until now, so we didn't even notice this issue until today.
I'm assuming that it might possibly be using an older version of the control? I would have thought the upgrade process would have taken care of that, but maybe I need to manually replace that control with a newer version. Does anyone have any ideas?
I haven't checked how the date-time data-types work, but I know there are two available, one for date and another for date/time. Could it be that the date/time one is being used and not having a time set is causing the issue?
If it's not that... then double check if you have any regular expression validation set at the doc-type property?
Hahaha wow... I almost don't want to admit this, but in my haste to create the doctype, I actually placed the description for the field into the validation box.
Do you by chance have something filled out in the "Validation" field for this property? If so I think you can just delete that as the DatePicker (should?) handle validation itself
Date Picker - won't publish due to incorrect format
I've got a doc type that uses the date picker control, and when I go to publish the page after setting a value, it throws the "you need to fix something" error and states that the date in the date picker is not in the correct format. We upgraded this site from an existing 4.0.2.1 installation from a long time ago (because the client had so much data in it) and haven't had any issues for a few months. I guess we never needed to change any dates after the upgrade until now, so we didn't even notice this issue until today.
I'm assuming that it might possibly be using an older version of the control? I would have thought the upgrade process would have taken care of that, but maybe I need to manually replace that control with a newer version. Does anyone have any ideas?
Hi Eric,
I haven't checked how the date-time data-types work, but I know there are two available, one for date and another for date/time. Could it be that the date/time one is being used and not having a time set is causing the issue?
If it's not that... then double check if you have any regular expression validation set at the doc-type property?
Cheers, Lee.
Hahaha wow... I almost don't want to admit this, but in my haste to create the doctype, I actually placed the description for the field into the validation box.
Thanks Lee :)
Hi Eric,
No worries at all, we've all done it ;-) Glad that it's sorted.
Good thing is that if someone has a similar issue, hopefully they'll find this topic/post.
Cheers, Lee.
Do you by chance have something filled out in the "Validation" field for this property? If so I think you can just delete that as the DatePicker (should?) handle validation itself
is working on a reply...