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

Automatically update the shipping address


We would like to add a checkbox to our account page.  When that box is checked, the shipping address is automatically populated with billing address when the record is saved.  I thought I could create a simple workflow and field update, but I can't seem to find a way in the formula to have fields auto-populated.  Is there a way for this to be done?

Going South.ax738Going South.ax738

You need to write a trigger on account object to achieve this.


Thanks.  Do you know where I can find some sample code to do this?