Validating radio button with php
All of the core control types are implemented as widgets, which means you can override any core widget with your own implementation as well.
If the first character is ‘/’ then the image path is relative to Like many helpers in Cake PHP, Form Helper uses string templates to format the HTML it creates.
The Form Helper is also flexible - it will do almost everything for you using conventions, or you can use specific methods to get only what you need.
is called with no parameters supplied, it assumes you are building a form that submits to the current controller, via the current URL. If you were to call argument is used as the form’s ‘context’.
that validates whether the city and zip code match.
Unfortunately, there is no "matching City And Zip Code" field in your form, so all that Symfony can do is display the error on top of the form.