Redirect after submit email in forgot password screen

I’m using New Universal Login and try to redirect user to our domain after submit email in forgot password screen. I try to use function .on like this:

lock.on('forgot_password submit', () => window.open(config.callbackURL + '/url-after-submit', "_self"));

but it will redirect even when user input wrong email format. Is there anyway to custom redirect after submit forgot password email