locked
html tag look like password RRS feed

  • Question

  • User186897 posted
    <div class='orinput'><label for='orinbox3'>Password</label><br />
    <input id='orinbox3' type='text' value='' onchange='$id("sqbutt").focus();' /></div>

    In the above cocde how do I make this textbox look like **** right now password I enter looks like text I want it to look like ***

    Tuesday, January 3, 2017 10:22 AM

Answers

  • User-63706186 posted

    Hi Lexi85,

    you can try this code

    <!DOCTYPE html>
    <html>
    <body>
    <form action="">
    <div class='orinput'><label for='orinbox3'>Password</label><br />
    <input id="orinbox3" type="password" name="password" value='' onchange='$id("sqbutt").focus();' ></div>
    </form>
    </body>
    </html>
    

    Please let me know if you need any support

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, January 3, 2017 10:45 AM
  • User842257015 posted

    Hi,

    Use input type as Password.

    <input id="orinbox3" type="password" name="password" />

    Note:

    If wish to show ***  for password control? - I hope this feature are based on system browser behaviors.

    We have the option to customize password input type character.

    1. circle
    2. disc
    3. square
    4. none

    https://paulund.co.uk/style-text-like-passwords-with-css

    Thanks,

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, January 3, 2017 1:40 PM
  • User-707554951 posted

    Hi Lex85,

    As mentioned above, you could set input type as password.

     <input id="Button1" type="password" value="button"/> 

    Ouput:

    As you can see in the picture above. the value displayed as dots.

    We can't change the password masking character in the standard password field.

    Best Regards

    Cathy

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, January 4, 2017 9:29 AM

All replies

  • User-63706186 posted

    Hi Lexi85,

    you can try this code

    <!DOCTYPE html>
    <html>
    <body>
    <form action="">
    <div class='orinput'><label for='orinbox3'>Password</label><br />
    <input id="orinbox3" type="password" name="password" value='' onchange='$id("sqbutt").focus();' ></div>
    </form>
    </body>
    </html>
    

    Please let me know if you need any support

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, January 3, 2017 10:45 AM
  • User842257015 posted

    Hi,

    Use input type as Password.

    <input id="orinbox3" type="password" name="password" />

    Note:

    If wish to show ***  for password control? - I hope this feature are based on system browser behaviors.

    We have the option to customize password input type character.

    1. circle
    2. disc
    3. square
    4. none

    https://paulund.co.uk/style-text-like-passwords-with-css

    Thanks,

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Tuesday, January 3, 2017 1:40 PM
  • User-707554951 posted

    Hi Lex85,

    As mentioned above, you could set input type as password.

     <input id="Button1" type="password" value="button"/> 

    Ouput:

    As you can see in the picture above. the value displayed as dots.

    We can't change the password masking character in the standard password field.

    Best Regards

    Cathy

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, January 4, 2017 9:29 AM
  • User-1393433442 posted

    Hi,

    You try this html tag look like password..

    <input type="password" name="password" id="password" maxlength="6">
    <br><input type="submit" value="Submit">


    Thanks,

    Wednesday, January 4, 2017 11:46 AM