Is this possible? I’m trying to use jorn’s jQuery Validation plugin, and I would like to avoid having to add ‘class’ => ‘required’ if i’m already setting the required => true option. Thx in advance for any input!
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.
Not possible using standard ZF classes. You can accomplish this by creating a custom decorator to replace the standard
ViewHelper.Of course, you also might want to add the prefix path to this decorator in your form.