HELP how to hide password
#1

On login box how to hide pass



Exam
************
Reply
#2

Simply impossible
Reply
#3

T-T
Reply
#4

You can use an array for the password like pass[].
Then use a for loop to replace every letter with a * (star).
But on the spot changing of letters and numbers into stars maybe impossible.
Reply
#5

Quote:
Originally Posted by DJDhan
You can use an array for the password like pass[].
Then use a for loop to replace every letter with a * (star).
But on the spot changing of letters and numbers into stars maybe impossible.
You can't change the inputtext while it's being typed. That's what he means.
Reply
#6

Quote:
Originally Posted by Mikep.
Quote:
Originally Posted by DJDhan
You can use an array for the password like pass[].
Then use a for loop to replace every letter with a * (star).
But on the spot changing of letters and numbers into stars maybe impossible.
You can't change the inputtext while it's being typed. That's what he means.
Read the last line
"Maybe impossible"
Reply
#7

Well there's no need for a loop, to hide the password.
Reply
#8

Well yeah you can strlen too.
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)