Hi sf list, I'm trying to use the new sfValidatorBase::setDefaultMessage to define a message for the 'Required' error in my forms.
However, I cannot figure out how to use placeholders in those messages. I'd like to write something like this : sfValidatorBase::setDefaultMessage('required', 'The %fieldname% is required.'); No matter which value I try, the placeholder is not replaced with the real field name. So does anybody have an idea ? Thanks Regards, Thibault J. -- You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-us...@googlegroups.com. To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en.