Is there any way to do that with a decorator or do I need to dig deeper into ZF?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
If you have multiple validators attached to one form element and want only the first error message to pop up, you can set
breakChainOnFailureoption to TRUE for each validator. In this case, if one of the validators fails, all the subsequent validators are skipped.