Welcome to HBH! If you have tried to register and didn't get a verification email, please using the following link to resend the verification email.

VB Hidden Input


ghost's Avatar
0 0

I Am looking 4 a way to make the input hidden but still = the samething, it is 4 a p4ssword/username this is as far as i got


Private Sub txtUser_keypress(keyascii As Integer) keyascii = 42 End Sub


plz help me post or pm me ty


ghost's Avatar
0 0

Could you rephrase your question?


ghost's Avatar
0 0

Yes, here we don't really care if you're 1337 or not, the main purpose of HBH is to assist you in learning, it is in no way a competition, so please try to make your posts/threads more coherent or normal, using numbers or slang as words just makes it more difficult to read. No offense meant :) -Xer0X|manic


ghost's Avatar
0 0

ok thanks 4 the help um i still need to make my input hidden can some 1 plz help it is no to much trouble ,,, i have create a password login but i do not want ne 1 to see the pass word and i would like the to be replaced with a "*" like ne other login password i need help on a code to do so plz help me

pm of post ty 4 ur time


ghost's Avatar
0 0

…:D


ghost's Avatar
0 0

You can mask the password with "*" characters (or whatever characters you want) by setting a value for a TextBox's PasswordChar property. I know this works in Visual Studio, not sure about VBScript.


ghost's Avatar
0 0

The simplest way is to set the password char property to "*".

If you want to complicate things a little you could use the textbox's keypress-event and and add keyascii to a variable and the "*" to the textbox but this requires a lot more of work and it's still not flawless.