function validate(form) {
var e = form.elements;
/* Your validation code. */
if(e['password'].value != e['confirm-password'].value) {
alert('Your passwords do not match. Please type more carefully.');
return false;
}
return true;
}
with a form along the lines of
<form action="..." method="post" onsubmit="return validate(this);">
<label>Password:
<input type="password" name="password" value="">
</label>
<label>Confirm password:
<input type="password" name="confirm-password" value="">
</label>
</form>
Use the length property of string in javascript.
It has to be done with Javascript. Though you could do something like this:
This question is too broad, be more specific.
Not comparable. JavaScript is a programming language. Dreamweaver is an application (which you can use to create pages with javascript, html, etc.)
No, use asp
Use confirm or alert in javascript code to get a popup
Use the length property of string in javascript.
It has to be done with Javascript. Though you could do something like this:
You could use 'the5uDrU' as a password, it is considered a 'strong' one due to the use of numbers and different cases. The 'confirm password' is exactly the same thing.
You need to match both or them if it says password and then type it and then if it says confirm and then type your password again
There are a number of ways in which one can learn how to program the JavaScript confirm dialog box into their code. One way is by reading the relevant tutorials on the website JavaScript Kit.
A 'Confirm password' is so that when you type in a password, if you mean ABC123, and you type AbC123 or something like that, the Sign up page will notify you that your password and confirm password are not the same.
When you change your password, it will ask you to confirm your password, if you do it two times you are more likely to remember it than just entering it once.
put the password into the password Colum and confirm the password
function validate(form) { var e = form.elements; /* Your validation code. */ if(e['password'].value != e['confirm-password'].value) { alert('Your passwords do not match. Please type more carefully.'); return false; } return true; } with a form along the lines of <form action="..." method="post" onsubmit="return validate(this);"> <label>Password: <input type="password" name="password" value=""> </label> <label>Confirm password: <input type="password" name="confirm-password" value=""> </label> </form>
i think it means another password which contains not your name
Just use the <input type="text"> and <input type="password">. You can also use the prompt() function, but... I'd recommend against it, since it doesn't get censored and is also just plain annoying.