2

I'm experiencing, in the current Webform version (7.x-4.16), an issue reported fixed last year (issue #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.

3
  • Just noting, since it is potentially misundertandable (by me!), the 'fix' is to the pure Webform module, and not the webform_civicrm module
    – petednz - fuzion
    Commented Dec 17, 2017 at 20:27
  • 1
    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.
    – wil_SRQ
    Commented Dec 18, 2017 at 17:44
  • 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
    – petednz - fuzion
    Commented Dec 18, 2017 at 20:31

1 Answer 1

1

Yes I get this when I add a Relationship on a webform and set Day and Month to be hidden.

enter image description here

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

8
  • 1
    Thanks for confirming. I created issue #2931633. Up-voted your answer but I don't have enough reputation for it to show!
    – wil_SRQ
    Commented Dec 19, 2017 at 1:50
  • well there is +1 for you ;-)
    – petednz - fuzion
    Commented Dec 19, 2017 at 5:35
  • 1
    Many thanks! I feel "official" now :-)
    – wil_SRQ
    Commented Dec 20, 2017 at 21:21
  • 1
    I can work around the problem now that I know it wasn't cockpit error.
    – wil_SRQ
    Commented Dec 21, 2017 at 14:06
  • 1
    Duh! Took me this long to figure out that upvoting and accepting an answer are two separate steps.
    – wil_SRQ
    Commented Jan 20, 2018 at 13:45

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.