G
Garry Jones
Using this code
if (form.scfmpwd1.value != form.scfmpwd2.value) {
alert( "Password mismatch - Try again" );
form.scfmpwd1.focus();
return false ;
}
And a checkform proceedure I can capture the form before processing if the
user enters enters a typo on one of his/her passwords.
However when using "form.scfmpwd1.focus() to reposition the cursor in the
first password field the field is left with the junk in it. Can I clean out
the data the user entered giving them a chance to start over with blank
fields.
Appreciate any help, thanks
Garry Jones
Sweden
if (form.scfmpwd1.value != form.scfmpwd2.value) {
alert( "Password mismatch - Try again" );
form.scfmpwd1.focus();
return false ;
}
And a checkform proceedure I can capture the form before processing if the
user enters enters a typo on one of his/her passwords.
However when using "form.scfmpwd1.focus() to reposition the cursor in the
first password field the field is left with the junk in it. Can I clean out
the data the user entered giving them a chance to start over with blank
fields.
Appreciate any help, thanks
Garry Jones
Sweden