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 a form with a section set with #access = FALSE
and so that part of the form doesn't get validated. However, some bits still get validated because the elements contain element validation settings and the form validation is not checking for #needs_validation before calling the element specific validation handlers.
Patch coming in comment #1
Comment | File | Size | Author |
---|---|---|---|
#1 | drupal-needs_validation_check-1887472-1.patch | 1.32 KB | mjpa |
Comments
Comment #1
mjpa CreditAttribution: mjpa commentedPatch for D7...