Hi everybody,
I am facing a problem for wich I don't manage to find an answer.
There is the situation: I have events and in each event I can have
meetings. I have created a form wich allow my users to modify an
events and its meetings all in once. My problem is: I want to control
that the date for each meeting is between the beginnind and the ending
date of the event they belong to. I should use sfValidatorShemaCompare
but how as my values are this way:
[event] (begin_date, end_date)
[meetings]
[0] (date)
[1] (date)
sfValidatorSchemaCompare use $values[leftfield] and
$values[rightfield] to work. So what's the magic trick to have it work
with embedded forms? (if possible)
Should I do my own validator?
Thanks a lot
--
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 [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-users?hl=en