Hi, I saw a commit adding a way to specify the form constraint on the fly : http://goo.gl/begfs In the commit i see also a new attribute :
>setAttribute('validation_constraint', $options['validation_constraint']) And that's what i'm interested in. My form Type is defined as a service, and i wonder how to specify validation constraints from my configuration file. "validation_constraint" seems to be the option i need but i'm not sure how to use it :) I need it because i'm binding data on array instead of an object. Any idea ? Thanks ! * -- Benjamin Dulau - anonymation CEO anonymation.com | code.anonymation.com ben...@anonymation.com * -- If you want to report a vulnerability issue on symfony, please send it to security at symfony-project.com You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en