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
ankushankush 

How to pre-populate Account Values on VF page

Hi All,

          We are looking to pre-populate Account Values in the database onto a VisualForce Page and that VisualForcepage is a self registration page to communities. This page opens through community link can some one guide if the pre-populating happens because the user trying to self register is not in the database until he logs in and we want the pre-populating on the self registration page before the login happens based on the accounts already in database.

Like if we have 
Coco cola
Apple
Google Accounts in database
if the user tries to enter App
then Apple should populate on the page
if he tries Goo all accounts with Goo should populate

Can some one help if this is possible if so then can some one help with the code.
Hargobind_SinghHargobind_Singh
Though I am not a big fan of pre-populating, and using hacks, as Salesforce doesn't document this as something we could do, but if you want to give it a try: 

http://salesforce.stackexchange.com/questions/937/how-do-i-prepopulate-fields-on-a-standard-layout


=========

ps: If your problem/question is resolved/answered, please mark your post as 'Solved' so that the community can benefit with resolution of issues.