Encrypting text field input

Hey guys,

I have a website where the users should be able to scan an RFID card in a text field through RFID reader in order to validate the card. The thing is, I don’t want them to be able to see the input. They should see ******** instead of the actual number.

Is that possible without using password field, because the password field brings some other problems like constantly asking for updating the password for the website and having some ***** by default.

Thank you in advance.


1 Like

You could try this, but it does not work in every browser.

The only difference between type=“text” and type=“password” is what displays in the field itself. Apart from the display being hidden in a password field it works identically to a text field.

Everything else relating to passwords is applied separately on the server specifically for passwords even if they are entered as plain text.

This topic was automatically closed 91 days after the last reply. New replies are no longer allowed.