This script will alert the visitor that the password they enter in the two password box are the same before sending to a CGI or PHP script. There is nothing to configure so only copy boxes are displayed on this page. See Script Work...
Paste script between the <HEAD></HEAD> tags.
function validForm(passForm) { if (passForm.password1.value ==""){ alert("Please Enter A Password") passForm.password1.focus() return false } if (passForm.password1.value !=passForm.password2.value) { alert("Passwords Entered Did Not Match") passForm.password1.focus() passForm.password2.select() return false } return true }
Paste script where needed in the body of the HTML Document.