On the last page before submit I would like user to enter the password before submitting. I added a single line text box to capture the password.
Is there a way I can match this value with the password I provided to user and enable submit submit of password matches?
I tried the following code but its not working:
document.getElementById('QR~QID11').addEventListener('blur', function()
{
if (document.getElementById('QR~QID11').value == "test")
{
this.enableNextButton();
}
else
{
this.disableNextButton();
}},false);
Question
enable submit if text matches
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.
