Home Analyst Portal

Masked input box (password)

Magnus_Lundgren1Magnus_Lundgren1 Customer Adept IT Monkey ✭✭

Im trying to get a input box to <input type="password" with javascript on one of my forms where you fill in a cellphone number that is written to a custom attribute in our Active Directory and then presented in the password reset portal.
The idea is that they fill in their phonenumber and current password. the password is then vilidated with powershell and if it is correct the phonenumber is writen to their account.

i just want one of the prompts to be masked in the form.

would this be possible?


  • Nick_FlintNick_Flint Customer Advanced IT Monkey ✭✭✭
    Here's the closest I've come. Unfortunately, IE11 doesn't support the use of the webkit:

    //Mask TextArea fields similar to text input password fields
    //Add to CSS .textAreaPassword { -webkit-text-security: circle; }
    //Works in Chrome - IE does not support this.
    $(document).ready(function() {
    	//Add a line for each Text Area you'd like to mask
    	var textAreas = [
    	textAreas.forEach(function(textArea) {
    This is tough to accomplish because of how Cireson is using TextArea fields for input rather than simply using text input fields.
  • Magnus_Lundgren1Magnus_Lundgren1 Customer Adept IT Monkey ✭✭
    Thanks for the tip, but this kinda fell as the password is saved in cleartext under userinput, if i could somehow encrypt this it would be helpful, with a MD5 hash
Sign In or Register to comment.