I have One Register-form for creating Account.In Email Field How Can i Check Enter Email is Real Email Id or Fake Email Id without Sent Any Email.And Also when User Leave The Field Validation will be start.Any idea please Share me....
Asked
Active
Viewed 57 times
-2
-
1Please share some code. – Mairaj Ahmad Sep 14 '17 at 05:21
-
You may simply use `html5` `type="email"` and it will do all validation for you. – Mairaj Ahmad Sep 14 '17 at 05:21
-
The simple answer is you CAN'T. You can check email address format but not magically knowing if this is a real email address. – spiritwalker Sep 14 '17 at 05:22
-
that's why user registrations usually involve email verification or mobile text message verification to approve they are dealing with real people. – spiritwalker Sep 14 '17 at 05:26
-
Check this https://stackoverflow.com/q/46155/6568620 – Mohamed Abbas Sep 14 '17 at 05:28
-
This Camel Case whY? – Drag and Drop Sep 14 '17 at 07:02
-
Thank you for your Replay.i have an doubt in case i enter
this is correct format but fake id it is Acceptable my form .Any idea to Avoid to this problem.... – prabhu Sep 14 '17 at 09:03
1 Answers
0
You can't do this work with js(without sedn email):
i recommend to send a code to your user rmail and verify that.
this way is good to valid email and register user.
note : if you want to know is the email is in email pattern you can do with html and js :
html way :
<input type="email" name="email" placeholder="Your email">
js way :
-
Thank you for your Replay.i have an doubt in case i enter
this is correct format but fake id it is Acceptable my form .Any idea to Avoid to this problem.... – prabhu Sep 14 '17 at 09:11