Hm, that looks like a good solution.. But isn't there a method, that would change it for all at once?
On 20. Dec., 13:56 h., "Bernhard Schussek" <[email protected]> wrote: > Hi, > > You could try (in YourForm::configure()) > > foreach ($this as $fieldname => $field) > { > $this->validatorSchema[$fieldname]->setMessage('required', 'This > field is required.'); > > } > > I would like to opt for a better default error message for required > and invalid fields. 'Required.' and 'Invalid.' really is not that > userfriendly, and it's not hard to change it to something reasonable. > > Bernhard --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
