function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion

Encrypted Fields

Hello. I have this custom objects and i have an encrypted field. I have a vf page where i can see it's value but if I add this page from the edit layout of an Account page the field is shown ******.  

What am I doing wrong?

Best Answer chosen by Admin (Salesforce Developers) 



         When you create an encypted text field, it would ask for Mask Type and Mask Character , so when you create a new record for an account , you will fill the encrypt text field value but after saving, it would shown in a '*' or 'X' character depending upon whatever you have choosen.  This is the standard behaviour of enrypt text fields.


Did this answer your question? If not, let me know what didn't work, or if so, please mark it solved.