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.
If an existing contact has a value in the State field, there's no way to remove the value because no "- None -" option is available.
Workaround: I've tried using jQuery to add a "- None -" option, and this does allow me to save the form and delete the state from the address.
I'm attaching a very simple example of an affected webform, as represented by the node_export module.
Comment | File | Size | Author |
---|---|---|---|
webform-export.txt | 7.87 KB | TwoMice |
Comments
Comment #2
TwoMice CreditAttribution: TwoMice commentedMarking "major" since this breaks important functionality and makes it impossible for the user to delete an address. Please adjust the priority if I've misunderstood the priority scheme.
Comment #4
colemanw CreditAttribution: colemanw commentedFixed it.
Comment #5
TwoMice CreditAttribution: TwoMice commentedThanks, colemanw!
Comment #6
colemanw CreditAttribution: colemanw commented@TwoMice - no prob. It's now in the stable release I put out yesterday.