answersLogoWhite

0

How do you confirm you password?

User Avatar

Anonymous

9y ago
Updated: 4/27/2022

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>

User Avatar

Troy O'Keefe

Lvl 10
3y ago

What else can I help you with?

Related Questions

What is a comfirm password?

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.


What confirm new password?

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.


How do you unlock a password for nokia c5-00?

put the password into the password Colum and confirm the password


Can you choose me a password and a confirm password for Minecraft?

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.


How do you use Javascript confirm 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 &lt;form action="..." method="post" onsubmit="return validate(this);"&gt; &lt;label&gt;Password: &lt;input type="password" name="password" value=""&gt; &lt;/label&gt; &lt;label&gt;Confirm password: &lt;input type="password" name="confirm-password" value=""&gt; &lt;/label&gt; &lt;/form&gt;


What is a confirmation password?

i think it means another password which contains not your name


How do you login in zombie farm with a password?

You first enter your e-mail and then you set a password, confirm the password and you can then play from another iPhone.


When you install windows server 2008 you enter a password and confirm it for the what account?

You are asked for the password to the Administrator account.


How can you reset all security questions and password of my Yahoo email if you did not confirm my alternative or recovery email?

change my password


How do you match password and confirm password?

You match both input fields by checking if the values entered are exactly the same. This is usually done using a simple equality check in code before submission.


How do you change your Pandora password?

To change your Pandora password, log in to your account on the Pandora website or app. Navigate to your account settings, then select the option for &quot;Change Password.&quot; Enter your current password followed by your new password, and confirm the new password. Save the changes to update your password successfully.


How do you change a password on an sumdog account?

To change a password on a Sumdog account, first log in to your account. Navigate to the &quot;Account Settings&quot; or &quot;Profile&quot; section, where you will find the option to change your password. Enter your current password, then input your new password and confirm it. Save the changes, and your password will be updated.