You need to sign in to do that
Don't have an account?
CloudyJosh
Copy billing address to shipping address in account page
So lets say I have a billing name / shipping name on the account page, and I want to be able to copy the info from the billing name field to the shipping name field, and vie versa with a click of a button, so the user doesn't have to reenter everything, how can this be done?
Cliff:
Two forms on the account page, billing and shipping name
I need to copy billing name to shipping name, and vice versa
I need this done with a click of a button (there will be 2 buttons)
Any help is appreciated!
The below code is what one of the users gave me, but I don't know how to implement this.
Cliff:
Two forms on the account page, billing and shipping name
I need to copy billing name to shipping name, and vice versa
I need this done with a click of a button (there will be 2 buttons)
Any help is appreciated!
The below code is what one of the users gave me, but I don't know how to implement this.
Behavior: Execute JavaScript {!REQUIRESCRIPT("/soap/ajax/26.0/connection.js")} var c = new sforce.SObject("Account"); c.id = "{!Account.Id}"; result = sforce.connection.update([c]); window.location.reload();
Please try the below sample code.Change the object name in the below code.
Step 1: First create a visualforce page
Controller
Step2: Create a custom button
Step3: Add Detailpage button to page Layout
Hope this helps you!
Best Regards,
Jyothsna
All Answers
Please try the below sample code.Change the object name in the below code.
Step 1: First create a visualforce page
Controller
Step2: Create a custom button
Step3: Add Detailpage button to page Layout
Hope this helps you!
Best Regards,
Jyothsna
Do you have the buttons on account standard detail page or have you created a visualforce page for this?