The Web Design Group

... Making the Web accessible to all.

Welcome Guest ( Log In | Register )

 
Reply to this topicStart new topic
> Email validation, email validation
ezzo
post Jun 26 2019, 11:40 AM
Post #1





Group: Members
Posts: 2
Joined: 26-June 19
Member No.: 26,917



Hi eveyone, Ive tried ..... and epically failed in my task, so Im hoping someone here can help.

I have a registraion form for my website. When people enter their emails addresses about 2% enter a typo in the TLD such as the following:

Jobbloggs@outlook.cim (instead of .com)
janbloggs@motorhomes.co.ik (instead of .co.uk)
someone@gamil.com (instead of gmail)

Id like a message to appear before they click the submit button to warn them that their email extension looks wrong.

Can anyone help please?
Thanks
Ezzo
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
Christian J
post Jun 26 2019, 12:55 PM
Post #2


.
********

Group: WDG Moderators
Posts: 9,628
Joined: 10-August 06
Member No.: 7



You could make a list of TLD typos, but that might become a very long list. Or you could make a shorter list of common valid TLDs (and common domains like gmail), and create a warning for everything else.

Of course none of the above will protect users from entering the wrong name before the @-character. Another way to prevent typos might be to use easily viewable form fields (not too small or too large font size, good color contrast). Also, if you send out a confirmation email right away the user may have a second glance at the form confirmation page if no email shows up.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post
pandy
post Jun 26 2019, 01:20 PM
Post #3


🌟Computer says no🌟
********

Group: WDG Moderators
Posts: 20,716
Joined: 9-August 06
Member No.: 6



There are ways to check if an email address is valid, i.e. if it exists. I know that because some sites do that. cool.gif
Alas I don't know exactly HOW they do it, but I suspect some hocus pocus with MX records.
User is offlinePM
Go to the top of the page
Toggle Multi-post QuotingQuote Post

Reply to this topicStart new topic
2 User(s) are reading this topic (2 Guests and 0 Anonymous Users)
0 Members:

 



- Lo-Fi Version Time is now: 19th March 2024 - 12:25 AM