Hi All,
I've got a CCK content-type containing a DateTime field with this Date Popup.
I got 2 input's 1 for the date and when i click on it te datepicker opens
the other input is for the time. When i leave that field empty and submit the form i get an empty validation message.
I've spend hours looking for it but can't find it, is there someone who has had the same problem or anyone knows how to specifiy a validation message for the empty time field??
Thanks!
Kind regards,
Martin
Comments
Comment #1
jcarnett commentedI'm seeing this same thing after upgrading to 6.x-2.6, yet another site with the same version doesn't have this problem. I haven't yet found any culprits while digging through the module code.
Comment #2
gdud commentedThe problem is in date_popup.module in line 352.
Type:
$message = ' ';Instead:
$message = '';The problem will dissapear :-)
Comment #3
jcarnett commented@gdud Thanks for the tip. That works for me.
Comment #4
artem_antonov commentedIs a feature or bug?
Any form to control that without touching a original module?
Thanks.
Comment #5
gdud commentedI think it is a bug.
Comment #6
damienmckennaUnfortunately the Drupal 6 version of the Date module is no longer supported. That said, we appreciate that you took time to work on this issue. Should this request still be relevant for Drupal 7 please feel free to reopen it. Thank you.