How to add Custom Validation in a Form



17.9k
edited Aug '14

Respect for briefness!

  1. Choose validator you want to use or create your own: http://docs.phalconphp.com/en/latest/reference/validation.html#validators

  2. Add validator to the form: http://docs.phalconphp.com/en/latest/reference/forms.html#validation