If I have in Base some form class:
$this->setValidators(array(
..........
'price' => new sfValidatorNumber(),
..........
));
How can I change error communicate for field 'price' in class which
extends Base some form class ?
I must again write validators with arrays inside with new communicates
of errors:
$this->setValidator('price', array(), array('required' => 'my error',
'invalid' => 'my error'));
???????
--
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.