Thanks for this But I've a comment
for my application , the authentication uses email address and password and I make a label besides the text field where users enters his email address . The label just says "Enter your Email address" so I simply want user to know I want him to enter an email address . In some cases user just doesn't check the label and enters just a name -may be his first name- because he is used to login with just a user name and password so I need the error message to clarify that for him so how about this ? table_user[username].requires = IS_NOT_EMPTY(self.messages.is_empty) if username == 'username' else IS_EMAIL(self.messages.invalid_email) Now if I'm using email authentication, user life becomes easier -- You received this message because you are subscribed to the Google Groups "web2py-users" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/web2py?hl=en.

