View Full Version : Encoding a password box (using *'s or bullets)

12-30-2005, 10:04 PM
I have a form on my website that people fill out and submit. After submitting the information goes to my mailbox. One of the required boxes is a password. Currently, the password appears in plaintext. Is there a way to make it appear in bullets or starts like any other site? And I still need to be able to read it once it is submitted. The code for the form is as follows (only the password portion of it):

<TR><TD><font size="-1" face="Helvetica, Arial, Verdana" color="black">* Username</font></TD><TD><INPUT TYPE="TEXT" NAME="user"
SIZE="30" MAX="100"></TD></TR>
<TR><TD><font size="-1" face="Helvetica, Arial, Verdana" color="black">* Password (read warning)</font></TD><TD><INPUT TYPE="TEXT"
NAME="pass" SIZE="30" MAX="100"></TD></TR>

12-30-2005, 10:21 PM
you should be using css

font-family:helvetica, arial, verdana, sans-seirf;

<td>* Username</td>
<td><input type="text" name="user" size="30" max="100"></td>
<td>* Password (read warning)</td>
<td><input type="password" name="pass" size="30" max="100"></td>