What is the correct validator to force the user to enter an email ?

presence; will not check that email is valid.
email; will accept the field to be empty.

Using both validator, trigger an javascript warning.

What is the best solution to this problem ?

Thank you.

-- 

--- 
You received this message because you are subscribed to the Google Groups 
"Zotonic developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to