Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 3 of 3
  1. #1
    New Coder
    Join Date
    Dec 2009
    Posts
    12
    Thanks
    2
    Thanked 0 Times in 0 Posts

    How can I star out characters on a login feild

    OK I have a login form for my site, but the password characters are displayed, how can I make them star out like almost all other forms have. Here is the code

    PHP Code:
    <table width="300" border="0" align="center" cellpadding="0" cellspacing="1" bgcolor="#CCCCCC">
    <
    tr>
    <
    form name="form1" method="post" action="checklogin.php">
    <
    td>
    <
    table width="100%" border="0" cellpadding="3" cellspacing="1" bgcolor="#FFFFFF">
    <
    tr>
    <
    td colspan="3"><strong>Member Login </strong></td>
    </
    tr>
    <
    tr>
    <
    td width="78">Username</td>
    <
    td width="6">:</td>
    <
    td width="294"><input name="myusername" type="text" id="myusername"></td>
    </
    tr>
    <
    tr>
    <
    td>Password</td>
    <
    td>:</td>
    <
    td><input name="mypassword" type="text" id="mypassword"></td>
    </
    tr>
    <
    tr>
    <
    td>GUID</td>
    <
    td>:</td>
    <
    td><input name="myguid" type="text" id="myguid"></td>
    <
    td>
    <
    tr>
    <
    td>&nbsp;</td>
    <
    td>&nbsp;</td>
    <
    td><input type="submit" name="Submit" value="Login"></td>
    </
    tr>
    </
    table>
    </
    td>
    </
    form>
    </
    tr>
    </
    table

  • #2
    Supreme Master coder! abduraooft's Avatar
    Join Date
    Mar 2007
    Location
    N/A
    Posts
    14,852
    Thanks
    160
    Thanked 2,223 Times in 2,210 Posts
    Blog Entries
    1
    Code:
    <input name="mypassword" type="password" id="mypassword">
    The Dream is not what you see in sleep; Dream is the thing which doesn't let you sleep. --(Dr. APJ. Abdul Kalam)

  • Users who have thanked abduraooft for this post:

    mrman11d (12-15-2009)

  • #3
    New Coder
    Join Date
    Dec 2009
    Posts
    12
    Thanks
    2
    Thanked 0 Times in 0 Posts
    thanks


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •