DonationCoder.com forum
 
Read-only archive. This is a static copy of the DonationCoder.com forum. Reading and searching work as before; logging in, posting and private messages do not.
Archive of 2026-10-21 · About this archive · Main site

Author Topic: I want to add a password like field to my web form  (Read 5,536 times)

bennet

  • Participant
  • Joined in 2009
  • *
  • Posts: 2
I want to add a password like field to my web form
« on: September 23, 2009, 09:27 PM »
How can I add a password like field to my contact form? I am using it as a registration form to my service.

mouser

  • First Author
  • Administrator
  • Joined in 2005
  • *****
  • Posts: 40,931
    • Gathering Badge
    • Plugin Coding Medal
    • Participated in NANY Challenge Seventeen Times
    • Cody Award
    • Coding Snacks
    • Volunteers/Staff
Re: I want to add a password like field to my web form
« Reply #1 on: September 24, 2009, 12:17 AM »
are you asking how to have make an input field in html which masks what you type with *** characters, or are you asking something else?

scancode

  • I will eat Cody someday.
  • Honorary Member
  • Joined in 2007
  • **
  • Posts: 641
    • Cody Award
    • Participated in NANY Challenge Twice
    • Coding Snacks
    • Furry Fandom Badge - Furry Fandom
    • DJ Badge - DJ
Re: I want to add a password like field to my web form
« Reply #2 on: September 24, 2009, 04:12 AM »
How can I add a password like field to my contact form? I am using it as a registration form to my service.

Instead of using
Code: (html4strict)
<input type="text" name="user_name" />
use
Code: (html4strict)
<input type="password" name="user_password"  />
« Last Edit: September 24, 2009, 04:14 AM by scancode »

bennet

  • Participant
  • Joined in 2009
  • *
  • Posts: 2
Re: I want to add a password like field to my web form
« Reply #3 on: September 24, 2009, 02:41 PM »
Thanks for your suggestion. My form was made with http://www.123contactform.com and I needed a field to have "password like" text. I hope interfering with the original code won't affect its functionality.

Original address: https://www.donationcoder.com/forum/index.php?topic=20036.0