+ Start a Discussion
U JayU Jay 

Encrypt a text field when save

I have a text field (Must Not text encrypted type ) say password.I am using it within my visual force page.
<apex:inputField html-placeholder="Enter Password"  value="{!contactReg.Password_Text__c}"/>
When i click save button the entered value must save as encrypted format.
How can i do it?
Ramu_SFDCRamu_SFDC
Hope the below posts answers your question

https://developer.salesforce.com/forums/ForumsMain?id=906F000000097a3IAA

https://developer.salesforce.com/forums/ForumsMain?id=906F00000008yjxIAA