On Jan 16, 2:40 pm, Jérôme TEXIER <[email protected]> wrote: > sfValidatorBase::setRequiredMessage('This is required') has to be > placed at the begining of the configure method of the form class. I have overwritten the __construct Method to change the default required and invalid message for validators that are not defined in my form class (e.g. the generated validators). You need to do so, because the validators are defined in the constructor of your base class. So the sfValidatorBase::setRequiredMessage in your configure method has no effect on them. Greetings, Martin --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---
