Hi, does anyone know what validation code I need to validate an email?
top of page
Important forum update
This forum is migrating to one unified Wix community forum starting July 26th, and will be read-only during the process.
![feature fixed.png](https://static.wixstatic.com/media/3bfa8a_f845e1016b8a49758acdd6edd6610c3b~mv2.png/v1/crop/x_0,y_2,w_852,h_508/fill/w_104,h_62,al_c,q_85,usm_0.66_1.00_0.01,enc_auto/feature%20fixed.png)
Wishlist Page is the official platform for requesting new features. You can vote, comment, and track the status of the requested features.
bottom of page
Thank you!
Hi, the problem with using the "Email" type input setting is that it also accept "w@s" as an email. Is this a bug?
Thank you!!! :) :) :)
Indeed.
So e-mail type automatically does an internal validation?
Hi there,
I f you are using a text input you can set the type to be email.
Hi, I checked out the articles, but I didn't find the validation code for an email. Basically, I need to check if it contains '@' and '.'.
Also, how would I go about stopping the form submission if the validation fails?
Hey,
You can find information about validating user's input here:
https://support.wix.com/en/article/validating-user-input-with-the-settings-panel
https://support.wix.com/en/article/validating-user-input-with-code
Have a good day,
Tal.