Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

rsCheckuser display as password

Status
Not open for further replies.

nk9100

Technical User
May 13, 2005
67
GB
Hi, I am using
Code:
<%= rsCheckUser("fieldname") %>
to disply the data, if I were to display a password field, how would I convert it to just display the dots that hide the PWord.

Any advice?
Code:
 <td width="841" height="13" bgcolor="#E9E9E9" colspan="2" align="left">
    <font size="3" face="Arial Narrow">
    <%= rsCheckUser("Password") %> </font></td>

Life is a journey that always ends up in the place
 
you can try something like this...

before displaying the rsCheckUser("Password"), get the length of this field..may be something like this...

Len(rsCheckUser("Password")

and then display as many stars as the length is ...

-DNG
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top