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
Priyanshu SinghPriyanshu Singh 

Hello, I want to create a vf page where I marge account and contact fields so please tell me how can I solve it????

jigarshahjigarshah
Priyanshu,

Do you intend to merge duplicate records with this page? If yes, then you can leverage Matching Rules and Duplicate Rules provided by Salesforce. These are out of box features which are readily available for use.

Moreover, every Salesforce instance comes with preconfigured rules for Accounts, Contacts and Leads which only need to be activated and used.

Hence, you don't really need to build a custom Visualforce page to accomplish this unless there is a specific custom behaviour that you intend to achieve.