Hi I have a requirement.I have a change password screen with three text boxes.One is Old password,second is New password and third confirm new password.Password control is being used in all these three boxes.
Now i have a requirement that there is a check box named show charactors.Once i check this check box in all the above text boxes the charctors should display.that means what ever the password which i entered it should be display in the exact form.If it uncheck the check box it should go back to bullet form.
Kindly help me in this its a bit urgent
***Edited by Moderator Marissa to update platform capability tags***
You can use two properties for each i.e. total 6 for Old Password, New Password and Confirm Password. Add all the 6 properties in the section. 3 of them will be of Text type and others will be of Password type. In General tab, use expression in visibility such that .pySelected=true for text properties and .pySelected =false for password properties. In Action tab, create an action set such that event is Change and in action use Set Value. Under set value, add the property as OldPwd2(Password) and value as OldPwd1(Text). This will be performed on OldPwd1(Text) field. Similarly for OldPwd2(Password) field, in Action tab, create an action set such that event is Change and in action use Set Value. Under set value, add the property as OldPwd1(Text) and value as OldPwd2(Passowrd). This is being performed such that whenever there is a change in one of the property such as Text for Old Password, the same will be reflected and synced in Password property for Old Password.
The same can be performed for other two values i.e. New Password and Confirm password. Make sure to use two different properties for each where one will be of Text and other will be of Password. So finally, when the checkbox will not be checked, it will display only 3 fields on screen of Text type and if unchecked, it will display only 3 fields on the screen of Password type.
Hope this helps for your requirement.
Posted: 4 years ago
Posted: 7 Aug 2018 4:54 EDT
Praveen P (PraveenP7456)