Hi,

I would like to redirect the user to an other page when the
"matricule" typed already exists instead of my invalid message
'L'utilisateur à déjà été créé'.

//BaseKiosquePatientForm.class.php

    $this->validatorSchema->setPostValidator(
      new sfValidatorDoctrineUnique(array(
          'model' => 'KiosquePatient',
          'column' => array('matricule')
        ),array(
          'invalid' => 'L\'utilisateur à déjà été créé'
        )
      )
    );

Anyone have an idea?

Thanks

--

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.


Reply via email to