> On 16 Feb 2018, at 17:17, Antoine wrote:
>
> 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.
Use both as follows:
{% val
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 me