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
Arpit Gupta 40Arpit Gupta 40 

How to auto populate data on another vf page based on previous vf search result?

I have two vf pages. On first vf page, there is search functionality based on emplyee id. If there is any record, on second vf page, data gets auto populated for modification with emp id field. Emp id field should be read only and other fields are editable. 
NagendraNagendra (Salesforce Developers) 

Hi Arpit,

May I suggest you please check with below link from the success community with a similar issue.

Please let us know if this helps.

Thanks,
Nagendra
Arpit Gupta 40Arpit Gupta 40
Hi Nagendra,
This is not my requirement. I dont have any lookup fields.
I have two vf page on Account object:
One page has search functionality.I which i have to enter employee id.
Based on this employee id, record gets populated on second vf page for any update or modification.
Rahul KumarRahul Kumar (Salesforce Developers) 
Hi Arpit,

May I suggest you please refer the below link for reference. Hope it will be helpful.

Please mark it as best answer if the information is informative.

Thanks
Rahul Kumar
Arpit Gupta 40Arpit Gupta 40
Hi Rahul, 
This link talks about same vf page. I have two different vf page.