Is it possible to trigger the validation of email field when the customer click next button only? I want to remove the validation on keypress etc

1 Answer 1


Added following code inside next event method

var loginFormSelector = 'form[data-role=email-with-possible-login]';
var emailValidationResult = Boolean($(loginFormSelector + ' input[name=username]').valid());
if(emailValidationResult) {
    // validation

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.