Jon Bauer’s Blog


#Symfony Validation

Posted in General, PHP, Software, Symfony by site admin on the February 1st, 2006

mabs29 Are there any examples of a validateXXX method?
mabs29 Also, if validateXXX exists, I presume the validate/action.yml isn’t run.
Garfield-fr The name file for validate is the same of the template (sorry for my bad english)
brujahRg mabs29: if your validate() or validateXXX() method invalidates the input then validation.yml isn’t run
mabs29 brujahRg: Could you pastebin a validateXXX() example, please?
brujahRg but if it validates, validation.yml validators are also executed
mabs29 Ah, that’s useful