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
deepu.sandeepdeepu.sandeep 

Auto password generator

Hi,

     I need to generate autopassword of length 6 chars to an user to login to my site and then after login he sets the new password now i need to generate autopassword an assign it to a field value, how could i do dat.

If any one send me a code i am greatful to him.

Thanks in advance

Navatar_DbSupNavatar_DbSup

Hi,

 

You can create a custom VF page for registration of User through the Site and once the registration form is correctly field by the Guest User create a contact with all the desired information inside the CRM and here you have an auto number field which will be used login password. So once the Guest registered them self you can write a workflow rule which will send an email to that guest user regarding the Temporary password and login URL.

 

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

deepu.sandeepdeepu.sandeep

i need it in vf page and apex code not through workflow.