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
RajevlsRajevls 

udpate a field using a button in account

I want to update a field on account using a button.

If the field on account(Test) is Null then on click of the button the value should be : 600000

 

If another field on the account (Test2) has a value I have to update the value as 60000+Test2.

 

Please help in acheiving this .

 

Bhawani SharmaBhawani Sharma
Create a detail page button on Account. You can use either javascript to update that field or you can call a webservice method to update that data
RajevlsRajevls

I want to update it by javascript...

 

I am new to it ... so any kind of example to move ahead will be a great help

Bhawani SharmaBhawani Sharma
You can go through this link:
http://www.interactiveties.com/b_execute_javascript_button.php

Regards,
Bhavi Sharma
Certified Salesforce Consultant
bhavi@simplyforce.com/bhawani.sh.sharma@gmail.com
+91-9928130589
LinkedIn |
Twitter
| Blog |
Community
www.simplyforce.com