The invalid_email message is displayed when the entered string is not a valid email address (it is passed to the IS_EMAIL) validator. There is a completely separate error message in case the email address is already taken -- auth.messages.email_taken. That one is passed to the IS_NOT_IN_DB validator.
Anthony On Saturday, September 20, 2014 6:01:31 PM UTC-4, Robin Manoli wrote: > > It worked when I put the messages before define_tables. Thanks once again > Anthony! > > I still would like to change the message: *This email already has an > account*. > > *Edit*, fixed the other problem, the code actually worked. > > -- Resources: - http://web2py.com - http://web2py.com/book (Documentation) - http://github.com/web2py/web2py (Source code) - https://code.google.com/p/web2py/issues/list (Report Issues) --- You received this message because you are subscribed to the Google Groups "web2py-users" 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.

