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.
Hey,
Is there a way to do this in module code? For example for a Text CCK field, the default message is [field] field is required.
I can't seem to find where this is outputted in the code either (not going to hack, just looking).
Is overriding strings the only way?
Thanks!
Mike
Comments
Comment #1
dcam CreditAttribution: dcam commentedThis is a duplicate of #742344: Allow forms to set custom validation error messages on required fields, which has already gone into D8.