Hi,

Maybe a silly question, but how can I use validators on unrequired
field? I mean, I have an unrequired email field in a form and I want :

  - that if a surfer submit an email and this email is invalid an error
    will be thrown
  - but if he does not provide an email, the validator won't say anything
    and the form will be submitted as the email field is optionnal

I'm a bit tired these days, I guess that's why I'm stuck on such silly
things, but help will be greatly appreciated :)

++

-- 
Nicolas Perriault    http://www.clever-age.com
Clever Age - conseil en architecture technique
GSM: +33 6 60 92 08 67  Tél: +33 1 53 34 66 10


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