Hello,

I am dynamically generating my forms (let's say for example 1 to n
select_tags depending on other data; let's say they are named fooX
where X is a number) and I would like to perform some validation on
the generated form elements. Obviously, as I don't know at devel time
how many select tags I will have, I am getting into trouble to write
the validation yml...
Does that mean I have to validate only one field (I am sure the first
one exists everytime) access the other fields of the form? then, I
suppose the solution would be to be to getContext()->getRequest()-
>getParameter('foo'.$X) to access other values of the form ?

Or maybe I missed something in the docs/mail archives/snippets ?

Regards,

Guillaume


--~--~---------~--~----~------------~-------~--~----~
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 [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/symfony-users?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to