Page 1 of 1

What is the purpose of an input field with type=email

Posted: Thu Jan 29, 2015 4:57 am
by GregMc

Hello,

I have started to build the user registration piece of my app. I am capturing a username and password using input fields. The person's email address will serve as their username. I would like to perform some validation of the email address so I have set the type for the input field to "email". When I test the app in the browser I see no validation at all being performed on the contents of the field. I have been able to submit strings with no "@" and no domain.

I had assumed setting type to email would perform some validation on the field contents as described here: http://www.w3schools.com/html/html_fo.... So am I doing something wrong or are my expectations incorrect?

It would be great if the appery docs did a better job at describing what the various input types actually do.


What is the purpose of an input field with type=email

Posted: Fri Jul 17, 2020 7:00 pm
by M&M

;:\s@\""]+)*)|(\"".+\""))@((\[[0-9]{1