GregMc
Posts: 0
Joined: Wed Dec 03, 2014 12:46 am

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

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.

M&M
Posts: 0
Joined: Tue Nov 11, 2014 6:59 am

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

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

Return to “Issues”