Answers.Body: <p>Yes I get this when I add a Relationship on a webform and set Day and Month to be hidden.</p>
  
  <p><a href="https://i.sstatic.net/cEp2v.png" rel="nofollow noreferrer"><img src="https://i.sstatic.net/cEp2v.png" alt="enter image description here"></a></p>
  
  <p>I expect this needs to be done as an 'improvement' to the webform_civicrm code - you might want to open an issue at drupal.org/project/webform_civicrm but it will probably require some effort/funding to get it added</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-19T01:50:27.833Z
Answers.Text: Thanks for confirming.  I created issue #2931633.  Up-voted your answer but I don't have enough reputation for it to show!
Answers.UserDisplayName: wil_SRQ
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-19T05:35:03.213Z
Answers.Text: well there is +1 for you ;-)
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-19T05:35:30.357Z
Answers.Text: think that gets you over 10 - how many do you need?
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-19T05:36:28.640Z
Answers.Text: found your other questions so over 20 now - the sky is the limit
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-20T21:21:53.917Z
Answers.Text: Many thanks!  I feel "official" now :-)
Answers.UserDisplayName: wil_SRQ
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-21T01:14:40.770Z
Answers.Text: Does that mean you can Tick/Accept the answer? (not saying you should)
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-21T14:06:21.377Z
Answers.Text: I can work around the problem now that I know it wasn't cockpit error.
Answers.UserDisplayName: wil_SRQ
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2018-01-20T13:45:41.293Z
Answers.Text: Duh!  Took me this long to figure out that upvoting and accepting an answer are two separate steps.
Answers.UserDisplayName: wil_SRQ
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-12-18T20:34:37.567Z
Answers.LastActivityDate: 2017-12-18T20:34:37.567Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>I'm experiencing, in the current Webform version (7.x-4.16), an issue reported fixed last year (<a href="https://www.drupal.org/project/webform/issues/2612844" rel="nofollow noreferrer">issue #2612844</a>). Anyone else experiencing it?</p>
  
  <p>A date field with "Hide" checked for Day and Month (only interested in the year).  The hint says "A hidden day or month will be set to 1." Instead getting errors for Month missing and Day missing upon form submission.</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-17T20:27:30.197Z
Comments.Text: Just noting, since it is potentially misundertandable (by me!), the 'fix' is to the pure Webform module, and not the webform_civicrm module
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-18T17:44:18.730Z
Comments.Text: Good clarification petednz.  I am experiencing the issue with CiviCRM processing "on" for the webform.  The date field in the form is "wired" to set the end date of a CiviCRM relationship.  All I'm interested in is the year, but this issue is forcing me to ask for a full date.  Setting a default for the date doesn't help, once the year is changed the error manifests. I'm running version 7.x-4.19 of Webform CiviCRM Integration.
Comments.UserDisplayName: wil_SRQ
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-12-18T20:31:13.553Z
Comments.Text: I expect this needs to be done as an 'improvement' to the webform_civicrm code - you might want to open an issue at https://www.drupal.org/project/webform_civicrm but it will probably require some effort/funding to get it added
Comments.UserDisplayName: petednz - fuzion
Tags: <drupal><webform-civicrm>
Title: Anyone else getting a webform error for a non-required date field?
ThreadText: # Anyone else getting a webform error for a non-required date field?
  
  (Asked by: username_0 on 2017-12-16)
  
  I'm experiencing, in the current Webform version (7.x-4.16), an issue reported fixed last year ([issue #2612844](https://www.drupal.org/project/webform/issues/2612844)). Anyone else experiencing it?
  
  A date field with "Hide" checked for Day and Month (only interested in the year). The hint says "A hidden day or month will be set to 1." Instead getting errors for Month missing and Day missing upon form submission.
  
  **Tags:** drupal, webform-civicrm
  
  > **Comments:**
  > **username_1**: Just noting, since it is potentially misundertandable (by me!), the 'fix' is to the pure Webform module, and not the webform_civicrm module  
  > **username_0**: Good clarification username_1.  I am experiencing the issue with CiviCRM processing "on" for the webform.  The date field in the form is "wired" to set the end date of a CiviCRM relationship.  All I'm interested in is the year, but this issue is forcing me to ask for a full date.  Setting a default for the date doesn't help, once the year is changed the error manifests. I'm running version 7.x-4.19 of Webform CiviCRM Integration.  
  > **username_1**: I expect this needs to be done as an 'improvement' to the webform_civicrm code - you might want to open an issue at https://www.drupal.org/project/webform_civicrm but it will probably require some effort/funding to get it added  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-12-18. Score: 1 | Accepted answer
  
  Yes I get this when I add a Relationship on a webform and set Day and Month to be hidden.
  
  [![enter image description here](https://i.sstatic.net/cEp2v.png)](https://i.sstatic.net/cEp2v.png)
  
  I expect this needs to be done as an 'improvement' to the webform\_civicrm code - you might want to open an issue at drupal.org/project/webform\_civicrm but it will probably require some effort/funding to get it added
  
  > **Comments:**
  > **username_0**: Thanks for confirming.  I created issue #2931633.  Up-voted your answer but I don't have enough reputation for it to show!  
  > **username_1**: well there is +1 for you ;-)  
  > **username_1**: think that gets you over 10 - how many do you need?  
  > **username_1**: found your other questions so over 20 now - the sky is the limit  
  > **username_0**: Many thanks!  I feel "official" now :-)  
  > **username_1**: Does that mean you can Tick/Accept the answer? (not saying you should)  
  > **username_0**: I can work around the problem now that I know it wasn't cockpit error.  
  > **username_0**: Duh!  Took me this long to figure out that upvoting and accepting an answer are two separate steps.  
  
  ---
  
  