Symofny 1.4 form: add validator for alternative email or secret question

I had a case recently – the registration form with alternative email and secret question.
In this form user needed to enter alternative email OR/AND secret question for password reminder function – at least one field must be filled. So I used approach of adding form validators dynamically.


Continue reading “Symofny 1.4 form: add validator for alternative email or secret question”