symfony1 - How do I create a Symfony validator that needs to access other fields values? -
i want implement symfony validator validates passwords registration form, means want 'password confirm' field. how make validator somehow ties these fields together? need check if password , password confirm values match.
how stuff these implemented in symfony?
you can use postvalidator . check documentation, there example password confirm validation.
Comments
Post a Comment