This topic is locked

UserName Password Typing

8/11/2003 11:18:04 AM
ASPRunnerPro General questions
swat author

hey ,

I want to user able to enter only 4 characters in Username and Password fields ?

Thank you

admin 8/14/2003

You can modify login form like this:

<input name=username value="<%=Server.HTMLEncode(strUsername)%>" maxlength=4>

<input type=password name=password value="<%=Server.HTMLEncode(Request("password")&"")%>" maxlength=4>


I hope this helps.
Sergey Kornilov