.
In the configure() method of your form :
public function configure()
{
$this-setPostValidator(new sfValidatorSchemaCompare(left_field,
sfValidatorSchemaCompare::GREATER_THAN, right_field));
}
Is it OK ?
Alexandre
2009/12/2 WEB-CHALLENGE kottiano...@gmail.com
Hi everybody!
I'm a new
Hi everybody!
I'm a new Symfony User.
I want to setup a form where the user can enter many values.
But, in the validation, the form won't be valid unless a certain data
[an integer field] is greater than an other also entered by the user.
I think it's simple but I'm really novice in Symfony
Just rename one of the two methods. Hope it will resolve the problem!
Bye
On 2 déc, 10:19, ridcully ohnhei...@googlemail.com wrote:
Forget to say that i'm using doctrine.
On Dec 2, 10:12 am, ridcully ohnhei...@googlemail.com wrote:
Hi,
after updating from symfony 1.2.9 to symfony 1.3.0 i