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.
In the line 37-38 of wizard.inc, it says the following:
/**
* Do NOT use #required => TRUE with these forms as that validation
* cannot be skipped for the CANCEL button.
*/
This does not appear to be the case as the Cancel button has #limit_validation_errors' set, which causes the validation to be successfully bypassed. This patch removes the comment before it confuses anyone else.
Comment | File | Size | Author |
---|---|---|---|
fix-comment-about-required.patch | 506 bytes | brianV |
Comments
Comment #1
merlinofchaos CreditAttribution: merlinofchaos commentedYeah, that's legacy. In the olden days you couldn't use #required but we've since figured that little thing out.