Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Problem/Motivation
Noticed when setting a date range validation, the validation for entry works fine but when editing the webform the validation drops the value and forces a single date before saving.
There is a potential for data loss here, so setting the priority to major.
Proposed resolution
TBD, possibly disable validation for webform edits
Comments
Comment #2
DanChadwick CreditAttribution: DanChadwick at PreviousNext commentedI either can't reproduce this or don't understand it. I created a date component with validation between 12/25/2016 and 1/1/2017. I re-edited the component and these validation values were still in the component. I did it again and they where yet again there. I created a submission with 12/26/2016. I saved the submission and edited it. The value was the same. I saved it again and the value was still the same.
Feel free to re-open with more info and hopefully a patch.