Forums

Hide the Password

kjphilips 20 Nov, 2011
Just curious here, how do i hide the password in the password field. I would like it to look like ********** instead of somepassword. I am sure it is easy but... all my hair is gone.
GreyHead 23 Nov, 2011
Hi kjphilips,

Use an input with type='password' instead of type='text'. That's a Password Box element in CFv4.

Bob
bruceluis 28 Mar, 2013
Works almost perfect!
After I changed the type to password now it inputs a default username and password by itself. Look at the attachment.
GreyHead 28 Mar, 2013
Hi bruceluis,

Yes your browser does that, not ChronoForms. You can turn it off (in some browsers) by adding autocomplete='off' to the input tag. (You either have to use Custom HTML or JavaScript to do this in a ChronoForms form though.)

Bob
This topic is locked and no more replies can be posted.