Answer the question
In order to leave comments, you need to log in
How to implement asterisks instead of circles when typing in input type="password"? Or how to make a font in which all characters look like asterisks?
Are there font makers here? Is it possible to craft a font in which all characters look like one (asterisk)? - only such an implementation of the task comes to mind, from input type="password" we make the usual type="text" and set a font for it. The problem is that I have no idea how fonts are collected, where to dig?
Answer the question
In order to leave comments, you need to log in
There are online generators (like this one ) or FontForge . Everything is intuitive there.
Just don't do type=text, it's not safe, use type=password, just specify a font for it, in which the necessary characters are replaced (not just an asterisk, in different browsers in different ways). And if something goes wrong, there will be standard asterisks / circles for the browser.
Any options with JS - definitely not. In general, developers who modify the contents of inputs on the fly should be driven out of the profession with pissing rags. The input should only work read-only.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question