I have 2 HTML input fields:
<input type="password" maxlength="4" id="fakepassword" />
<input type="hidden" maxlength="8" id="password" />
How do I insert a value into the password field, when typed and when the focus is on fakepassword?
I am trying to get the value from fakepassword with the OnkeyUp event, but I am stuck at maxlength.
Is there a way to get the value from keyboard press?
My real problem is, that I have a login form and I want my password field showing only 4 characters, no matter how many character I put into it.
Please help.