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 ((E-Mail Removed)) -->
<!-- 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>
"Qrystems" <(E-Mail Removed)> wrote in message
news:3D58F756-6C89-469C-A059-(E-Mail Removed)...
>I was trying to get two inputs like pwd and compare just for confirmation
> while working in form environment. Can somebody tell me what I need to do?
> I
> intend to save the result in MS access dbs
> Thanks
> --
> QRS