Password in input text box.

Discussion in 'HTML & Website Design' started by cipals15, Nov 25, 2008.

  1. #1
    I am currently making my last page which is a registration page. The problem is that i wanted to make the password input as **** or something similar everytime they place their password into the box.

    To clarify this, let's have an example:

    I have an input box:

    <input type="text" name="password">
    HTML:
    I want to enter my password: K2xT2d
    But when i enter this password, i want the display to be: ******

    How will i do it? I think i can do it either javascript or php. :D
     
    cipals15, Nov 25, 2008 IP
  2. xtreme fever

    xtreme fever Active Member

    Messages:
    472
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    95
    #2
    <input type="password" name="textfield">
     
    xtreme fever, Nov 25, 2008 IP
  3. cipals15

    cipals15 Well-Known Member

    Messages:
    1,085
    Likes Received:
    9
    Best Answers:
    0
    Trophy Points:
    100
    #3
    Damn!! Is that the solution?? So short.. OMG!! I am so dumb!! I am so dumb!! I tried to create a javascript for this for about 2 hours now and....
     
    cipals15, Nov 25, 2008 IP
  4. xtreme fever

    xtreme fever Active Member

    Messages:
    472
    Likes Received:
    8
    Best Answers:
    0
    Trophy Points:
    95
    #4
    ha, you just had the type wrong. good luck
     
    xtreme fever, Nov 25, 2008 IP