How to hide input from user inside a textfield
You can add a CSS style to implement this.

However, currently, only Chrome supplies "-webkit-text-security" could do this. I find someone has some sample code:   https://jsfiddle.net/estelle/8WpNg/