Hello.
What would be a good practice in separating the validating procedure for 
the action update depending on who's invoking it ... create or edit?

Basically I have this situation. I'm trying to ensure that a username is 
unique. I only allow the user to enter a username from the create action.
So it should be required and validated only for the create action. It is 
required for the edit too but I don't want it to run the unique 
vaildator when editing. I don't allow the user to update the username in 
the update action anyway.  By the way I can't use the propel unique 
validator because of a certain element in the generation of the username.

Cheers,
--
Razvan

--~--~---------~--~----~------------~-------~--~----~
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