Click here to Skip to main content
15,884,628 members
Please Sign up or sign in to vote.
1.00/5 (2 votes)
See more:
if I copy the data from password text box and paste it in confirm password then it's not working fine
mean password and confirm password fields are mismatching y?
Posted
Updated 11-Nov-12 22:20pm
v2
Comments
Sergey Alexandrovich Kryukov 12-Nov-12 2:48am    
How can you create anything which would work fine, if you don't even understand that you did not provide any information needed to resolve your problem?
--SA
Anele Ngqandu 12-Nov-12 3:24am    
And what do you want us to do?
OriginalGriff 12-Nov-12 3:26am    
This is not a good question - we cannot work out from that little what you are trying to do.
Remember that we can't see your screen, access your HDD, or read your mind.
Show us the code you use to check the two are the same, and we may be able to help! At the moment, we would have to guess - and that doesn't work too well with computers...
Use the "Improve question" widget to edit your question and provide better information.
Sanjay K. Gupta 12-Nov-12 4:29am    
y?Is this the way.....

When you type password in password box the password is types but masked with * character. when you copy from that textbox the clipboard is able to copy only *s and not the actual password. so when you paste in re enter textbox you are actually pasting *s and not the actual password.

this is the case for security reasons, imagine a scenario where you could copy a masked password from a textbox and paste it in a notepad, you will then be able to see the real password . This would actually defeat the purpose of masking the password in the first place.
 
Share this answer
 
Comments
Sagar H Upadhyay 12-Nov-12 8:43am    
You are right buddy, all the users think that the password box contain the password, but in background each time you press a key password box store it to another place and as its value field it shows only "*", and let me make you sure when you are retrieving, this password for conformation its not returning its the value field of password box it return the actual value what we had entered.
I thought all web developer knows this things but I proved as wrong...
I think you are pasting after some space,can you check it properly
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900