On button click we were suppose to compare the password to add and password to confirm.
when we tried simply comparing the property values on these input fields we found that comparison was not working since the values of properties were encrypted.
Solution-
we added logic in activity , we created a step that will decrypt password to add and confirm password , and compare those values post decryption. condition in when rule is as below this is expression
@decryptPW(.newPass)==@decryptPW(.confirmPass)
based on miss match we added page message on clipboard
@Bhumireddy can you please elaborate here what is “existing password” ? is it you Pega Login password? or any other password field from Custom section?
@Bhumireddysorry using this method we can only compare the decrypted passwords from the referenced properties we can not view the decrypted value of password. And this is applicable for the input password controls which are inside any custom pega application