I have seen that when using a cck date field and have mandatory property does not appear in the cart,if you deactivate it, this appears to cart...bug?
I have seen that when using a cck date field and have mandatory property does not appear in the cart,if you deactivate it, this appears to cart...bug?
Comments
Comment #1
sheise commentedHaving the same issue.
Comment #2
trickyricky26 commentedConfirmed this bug!
Comment #3
trungonly commentedCan you please describe step by step to reproduce?
Comment #4
trickyricky26 commented-Generic Product set up.
-created new content type called Date Field (date_placeholder) with a date field and popup calendar.
-created a generic product
-added Date field to generic product through cck attributes
This works great. I then realized I needed the date field to be mandatory so I edited the date field (required) and the date disappears. I switched back and forth several times. It only happens on date fields that are required in my case.
Thanks for your work!
Comment #5
trickyricky26 commentedanyone find a fix for this? need it for launch!
Comment #6
trungonly commentedThis is not this project bug, but the Date field bug. The Date field did not validate the required value, so it submitted the form even when user did not validate the date value, I guess in your case missing time part. If the value is invalid, it won't shown in cart.
This does not happen in other standard CCK fields like Text field.
Work around: Please try to hook a custom validation for date field.