I have an input field for an URL.
When the form is submittet I'm using sfValidatorDoctrineUnique for
this field. But BEFORE the validation I'd like to manipulate the url
(host name to lower case, cut off any query strings).

Imagine the url "http://www.test.com/mysite"; is already in the
database.
When a user tries to submit the following url "http://www.Test.com/
mysite/?q=foo" I'd like sfValitatorDoctrineUnique to recognize it as a
unique violation.

What can I do?
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to