Because of JS errors, I couldn't replay to this topic.
I have made two modifications.
The first regards the sfValidatorConfigHandler.
I had groups of components like this
name1[id]
name1[name]
name1[surname]
.....
name2[id]
....
The example is fictional but reflects the need I had.
I defined a new attribute for the validation file called
parent_pattern
which is a RegExp.
For the example above the configuration would be like this
fields:
id:
parent_pattern: name\d+
group: a_group
intValidator:
required: Yes
name:
.....
In this way I can validate all the name\d+[id] entries.
The modifications I have done do not break backward compatibility (I
believe) since
is unlikely that someone has called a field for validation
parent_pattern.
If others think this would be useful for them as well I'd like to send
the diff.
The other change regards the sfPokaYokePlugin.
I fixed some errors the version I used had and added code
in order to support client side validation for the example above.
Unfortunately I don't have the e-mail of the developer of the plug-in
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"symfony developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at
http://groups.google.com/group/symfony-devs?hl=en
-~----------~----~----~----~------~----~------~--~---