+ 2

How to change Numbers to XXX Character in reactjs or java script or html or in css

Like debit card entry in website.. I tried input type=password but it shows "..." (dot), how to replace digit into XXX..

23rd Feb 2018, 4:43 PM
Tamilselvan S
Tamilselvan S - avatar
7 Answers
+ 8
if you mean that you want to replace the ••••• hiding a password with XXXXX then the short answer is....you can't by ordinary means after some research, i stumbled upon this link https://github.com/Mottie/input-password-bullet apparently, you can simply create a customized font that replaces the • symbols with whatever character you want, so that is a nice solution
23rd Feb 2018, 4:55 PM
Burey
Burey - avatar
+ 5
@Prashanth your code enters an infinite loop you add 'X' char to the element which length is the stop condition....
23rd Feb 2018, 5:59 PM
Burey
Burey - avatar
+ 4
I think I can do with simple Js wailt a min I will start doing it
23rd Feb 2018, 5:12 PM
Prashanth Kumar
Prashanth Kumar - avatar
23rd Feb 2018, 5:33 PM
Prashanth Kumar
Prashanth Kumar - avatar
+ 2
Thanks burey I will try this.. And I will let u know if I hv any doubts
23rd Feb 2018, 5:31 PM
Tamilselvan S
Tamilselvan S - avatar
+ 1
I downloaded the relevant kit but it's not working. Could you please explain me how to do the changes
26th Feb 2018, 11:44 AM
Tamilselvan S
Tamilselvan S - avatar
0
xxx
11th Aug 2020, 7:43 AM
Rajni Dung Dung
Rajni Dung Dung - avatar