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
AmbigaRamAmbigaRam 

Updating the value of custom button

Hi,

 

I created the custom button with value 'save', in an object,

 

After entering  the values in the all fields in the same object , how to change the status of the cutom button from 'save' to 'saved' when I click that 'save'?

 

 


Any help is appreciated .

 

Thanks,

Ambiga

Best Answer chosen by Admin (Salesforce Developers) 
Yoganand GadekarYoganand Gadekar

Hi,

your custom button will never appear on a standard page while your record is in edit mode. You can see it in detail page only.

 

If it is visualforce page then you can do it in visualforcer page code.

 

Hit kudos and mark this answer if it helos you.

 

Thanks

All Answers

Yoganand GadekarYoganand Gadekar

Hi,

your custom button will never appear on a standard page while your record is in edit mode. You can see it in detail page only.

 

If it is visualforce page then you can do it in visualforcer page code.

 

Hit kudos and mark this answer if it helos you.

 

Thanks

This was selected as the best answer
AmbigaRamAmbigaRam

I created the VF based custom button,

 

How to change its value when I entered the field values

 

For an Example, if Custom button value Name = “Test”, when the user clicks the button then it need to be changed as “Test Updated”).