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.
Some of the error messages do not include the field name. Example:
!name field must be a string at most @max characters long
This makes it hard to identify the offending field, especially when forms are submitted via web services.
Comment | File | Size | Author |
---|---|---|---|
#1 | 1762396-select-or-other-validation-messages.patch | 2.65 KB | mrfelton |
Comments
Comment #1
mrfelton CreditAttribution: mrfelton commentedAttached patch adjusts the error messages, so that they are more inline with how Core reports field validation errors.
Comment #2
haydeniv CreditAttribution: haydeniv commentedCommitted to dev commit 51dbfb4.
Thanks!