How to remove show button for Masked variable for admins?

Rajesh Mushke
Mega Sage

Hi All,

How to remove show button for Masked variable for admins?

find_real_file.png

 

Thanks,

Rajashekhar Mushke

17 REPLIES 17

Hi Rajashekhar,

Even I tried similar way but the issue seems since the anchor tag is hidden on form load and hence it is not able to find that html element

Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Is your id correct ?. Looks like you're are using the same id which i have provided.

Hi Vigneh,

 

I didn't see any id in my console

find_real_file.png

 

Thanks,

Rajashekhar Mushke

Hi Rajashekhar,

can you update code as below

the class attribute has value as btn sp-show-hide-masked-button ng-binding ng-scope

function onLoad() {
   //Type appropriate comment here, and begin script below

$j('.btn sp-show-hide-masked-button ng-binding ng-scope').html('');

}

Mark ✅ Correct if this solves your issue and also mark 👍 Helpful if you find my response worthy based on the impact.
Thanks
Ankur

Hi Ankur,

 

I just tested but getting the error like TypeError: $j is not a function

find_real_file.png

Thanks,

Rajashekhar Mushke