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
Max_gMax_g 

Need to force a quicksave on my primary object

I want to be able to force a quicksave on my primary object when I access a VF page.  I am using the standard controller with an extension.  How do I code for this in my VF page so I don't have to select my refresh button to get the quicksave?

 

SRKSRK
you can call a JavaScript function on onblur event of the field & then call the action function from that JavaScript function & in apex you can simply update the record
Max_gMax_g

Is there an option without JavaScript?

Trying to keep things pure salesforce.

 

SRKSRK
You can use <apex:action support > in that case and use it to call the desired method in apex class & update the record