Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

How to make a validation of empty email and password in the registration form

$
0
0

Replies: 0

Hello,

I see that the registration form of Woocommerce validates if I have not written a correct email and gives me an alert without letting me to go forward in the registration process when I click in Register button.

However, if I leave the user/email or the password fields empty and click submit/register button, it doesn’t stop me and the page reload. I want to receive the same alert that when I have syntaxis errors for the email address and that it doesn’t let me to go forward in the process.

How can I achieve this?

Thanks!

PD. And the same for login form.

http://prntscr.com/jvw4yh


Viewing all articles
Browse latest Browse all 59525

Trending Articles