php - Embedded form in Symfony 1.4 and validator compare -
i created embedded forms tutorial: http://prendreuncafe.com/blog/post/2009/11/29/embedding-relations-in-forms-with-symfony-1.3-and-doctrine
but have 1 problem. how can compare 2 or more values in example? compare name in table bookmark, example 1 name can numbers. can make this, dont know must set validator this. in bookmarkform.class.php have 1 value, can't values in form. in example have values , can use own validator form symfony?
i'm not quite if you're asking for, postvalidator allow validation requires access multiple fields.
here's example of how create custom postvalidator.
Comments
Post a Comment