• Rameshkumar
    September 2, 2015 at 11:29 am #724

    Team,

    We have a below requirement in our project. I would like to know, how it can be achieved by using SPARK controls either password/Masked text.

    1. Certain personal information like DOB, SSN should have a masked value (i.e., SSN – #########) to the users.
    2. It can be viewed by clicking view icon. when you click an icon, the field will be unmasked and original value to be shown.

    Please find the attachment. Please let me know, how we can achieve this.  I would like to achieve this in client side.

     

     

     

     

    September 2, 2015 at 11:41 am #726

    Hi Ramesh,

    I advise using a stack control, place a masked text control and a text control in there. Set the on click event handler in the icon to show the visibility of the text control on the stack when invoked setCurrentPane(). Let me know if you need more information on building this.

    https://support.salientprocess.com/documentation-enterprise/

    Regards,
    Lisa

    September 2, 2015 at 12:13 pm #727

    Ramesh,
    I also failed to mention two other important details
    1) You are going to want to bind the two controls that you use to the same variable so it sync up.
    2) The masked text does not hide of view of the user input, it serves to confine user to an input pattern. I think the password control might server a better purpose, and you can use the setValidationExpression() method on the password control as what is and is not a valid input.

    Lisa L.

Viewing 3 posts - 1 through 3 (of 3 total)

You must be logged in to reply to this topic.

Start typing and press Enter to search