e-Mail Validation on Custom Form

Hey there…

How does one provide for strict email validation on a custom form so that anything with a weird domain extension is rejected? For example .coom or .neet.
#emailValidation

Hi,

There are a number of approaches to this.
One option is to check the string using Regular Expressions
To implement this method you will have to provide a list of acceptable extensions as a regular expression.

Another option is to implement an email verification process as described below.
This is the recommended option since it also verifies that the user has access to the specified mailbox.
Check out the example code here
https://www.wix.com/code/reference/wix-users-backend.html#register
Search for " Register a user sending an email for confirmation "