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

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

mjpa’s picture

Status: Active » Needs review
FileSize
1.32 KB

Patch for D7...

Status: Needs review » Needs work

The last submitted patch, drupal-needs_validation_check-1887472-1.patch, failed testing.