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.
I have 2 address fields in a content-type.
One is set to berequired, the second one not. (Field settings)
Nevertheless both instances of the field are required when editing the content type.
Something seems very odd there....
Comment | File | Size | Author |
---|---|---|---|
#5 | Webform 2.jpg | 87.35 KB | taxicab221 |
#5 | Webform 1.jpg | 126.83 KB | taxicab221 |
Comments
Comment #2
bojanz CreditAttribution: bojanz at Centarro commentedCan you provide a screenshot?
Comment #3
bojanz CreditAttribution: bojanz at Centarro commentedComment #4
do CreditAttribution: do commentedHi, here are the steps to reproduce:
* create an entity with 2 address fields.
* 1st field ist "required"
* 2nd field ist "optional/not required"
* Add one of these entititties and fill out only the 1st field.
* Submit entity and get the error. :(
Thanks for looking into it.
Comment #5
taxicab221 CreditAttribution: taxicab221 commentedI am also having the same problem.
I have build a Webform containing 4 address fields.
While I am building and testing this Webform, I cannot submit this form without entering address information into all 4 address fields.
Two of the address field are hidden by default and are only displayed if certain conditions are met.
Attached are 2 screenshots of the Webform View & the Webform Builder View.
Comment #6
taxicab221 CreditAttribution: taxicab221 commentedJust updated the version number I am using from 7.x-1.x-dev to 7.x-1.2