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
pjbarbats22pjbarbats22 

How do I create a custom button that populates certain fields on the record i'm creating

I am trying to create a custom button that creates a FinancialForce Project from a Campaign.  Our marketing department wants certain fields pre-populated when they click on the button as the data will always be the same.  Finally, they want the Campagin Name to be the Project Name and we add a "MKT" prefix to the Project Name ... I've seen this done before but can't figure out how to get it to work.
Sonam_SFDCSonam_SFDC
hi,

Did you get a chance to go through this blog which has sample code on how to create such a custom button :http://simplysfdc.blogspot.in/2012/11/custom-button-to-prepulate-field.html

Worth a read!