So far I’ve just found out that I could write an own view helper but as I’m new to the framework I don’t know how to do that. I hope there’s a simpler way!?
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.
I was just about to ask this question myself with my own solution, to provide for the community, so to speak, when I saw you question pop up in the suggestions.
My simple and pretty elegant solution, if I say so myself, uses a simple custom decorator. It does nothing to the content it receives, but it alters the element.
Usage:
All you need to do is add the decorator before the ViewHelper decorator, and your set.
O, PS.: Be sure to add the correct prefix path in your form: