The form validation in Frontpage doesn't seem to allow what you want to do -
I had the same problem, and found this script below on this site:
http://javascript.internet.com
In the <form> tag, add this bit of javascript exactly as written below:
onSubmit="return checkPw(this)"
So when user clicks the submit button the script checks the two password
fields are the same, else returns an error, and asks for input again.
Insert this script below into the <body> section immediately below the body
tag, copy and paste into notepad first; then copy into the code view of your
web site.
<SCRIPT LANGUAGE="JavaScript">
<!-- Original: Carey Walker (
[email protected]) -->
<!-- This script and many more are available free online at -->
<!-- The JavaScript Source!!
http://javascript.internet.com -->
<!-- Begin
function checkPw(form) {
pw1 = form.pw1.value;
pw2 = form.pw2.value;
if (pw1 != pw2) {
alert ("\nYou did not enter the same new password twice. Please re-enter
your password.")
return false;
}
else return true;
}
// End -->
</script>