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.
When a user is creating a new node, she might need to go back before filling a step thoroughly. But empty required fields in a step will trigger errors and prevent user from going back to the previous step.
This article from Befused shows a form_alter to fix the issue: http://befused.com/drupal/multistep-back-error-suppression
Yet I think it shouldn't be needed for the back button should have validation errors disabled by default.
Comment | File | Size | Author |
---|---|---|---|
#1 | msnf-do-not-validate-forms-2105507-1.patch | 702 bytes | barraponto |
Comments
Comment #1
barraponto CreditAttribution: barraponto commentedPatch submitted by the Drush iq-submit command.
Comment #2
stBorchertThanks for the patch. Committed to 7.x-1.x.
Comment #4
stefanotabarelli CreditAttribution: stefanotabarelli commentedI applied this patch and used it for a long while on my site and it works perfectly. I also believe that it should be a default behavior and it should be included in the next release.
Thanks for the patch