92
Views
5
Comments
Changing Password Masking to *
Application Type
Mobile, Reactive
Service Studio Version
11.14.15 (Build 60242)

Finding possible ways to change the outsystem password masking to *
I have tried to change it via a resource file using ttf format file but iam unable to find the ttf format for asterik
I also tried changing it via Js too but its not working 

2020-07-01 11-36-23
Shubham Tiwari

Hi Irfan

Can you please share what JS you have used to make that change which is not working

2025-01-31 03-15-38
Irfan Ahamed Abdul Shukoor


   var k=0;

   var df;

window.onload=function() {

   df=document.forms[0];

df[1].onkeyup=function() {

df[0].value+=df[1].value.charAt(k);

   k++;

for(c=0;c<df[1].value.length;c++) {

   df[1].value=df[1].value.replace(df[1].value.charAt(c),'#');

   }

  }

 }


I have taken this script from
https://jsfiddle.net/MatPreuter/c2044Lk4/

It is masking to * on the event onkeyup and onkeydown, but i wanted it mask as * without revealing what i have typed. 

2021-10-08 05-01-12
Deepa Tiwari

HI @Irfan Ahamed Abdul Shukoor ,

You can find a way here- 

https://codepen.io/ktknest/pen/pOEwBj

working example.

2020-07-01 11-36-23
Shubham Tiwari

Let us know if link shared by @Deepa Tiwari fulfill your need . If not we can try to tailor made your request

2021-11-03 19-55-34
Asher

This can be achieved with CSS but it is not recommended. Please see the attached Stack article. 

https://stackoverflow.com/questions/1648665/changing-the-symbols-shown-in-a-html-password-field/1648690#1648690

Community GuidelinesBe kind and respectful, give credit to the original source of content, and search for duplicates before posting.