I have spent some hours of figuring out why i repeatedly got the error "The value input for field Date of xxx is invalid', without being able to save a multistep document.
First I found out that it only happens with the Date popup widget.
Then I accidentaly discovered that this error appears when the Date field is placed inside a fieldgroup of type Multistep. It specifically throws this error when the Date field is not on the last page of the form, that is, on the page where the submit button of the Multistep form is present.
If the field is placed inside a normal fieldset, but ouside of a Multistep fieldset, the error does not appear and the form is saved normally.

I'm not sure if fixing this is a task for the Multistep or the Date module.

Comments

mmagas’s picture

I'm experiencing this issue as well.

shivachevva’s picture

I am also facing the same issue. Can any one fix this issue.

jayson13’s picture

I am also having this issue, i have posted it in the link below (i might be posted at wrong place)

https://drupal.org/node/1144074#comment-7623619

jayson13’s picture

Component: Code » Date Field
Priority: Normal » Major

I really needed this badly, any suggestion? I really need Multistep form and date working properly, my site can't work with only 1 of the feature.

I have ran through the old posts but still unable to find a solution for this.

Thanks!

andrea.brogi’s picture

Subscribe. I have the same problem.

thefoo’s picture

Same issue.

2¢’s picture

I have the same issue.
Using a date field with text widget rather than date popup still generates an error for me. Date is not on last page.

There are errors in Violation Date Notice value #1:
The dates are invalid.

wmad’s picture

You may be able to resolve this issue by adding $form['#tree'] = TRUE; which prevents your form structure from getting flattened.

milos.kroulik’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)

This is most likely another duplicate of https://www.drupal.org/node/1349510, because Multistep hides date field. Please review that issue and reopen this one, if you don't agree.