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

dcam’s picture

Issue summary: View changes
Status: Active » Closed (duplicate)

This is a duplicate of #742344: Allow forms to set custom validation error messages on required fields, which has already gone into D8.