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
Sasi Rajasekar 4Sasi Rajasekar 4 

Formula field refresh in custom VF page, On save

I have 5 fields on Object A. while loading the page, we diplay all fields( 3, 4, 5 fields are formula fields, 1 , 2 are input fields) in VF page. The problem here is, When the user is allowed to change the input values for 1 & 2 field through screen and click on save button, the formula fields are not refreshing and showing the new calculated value. If only, i choose the tab for Object A, 3, 4, 5 fields are reevaluating.
Pls tell me how to refresh the formula field in VF page
Le NguyenLe Nguyen
Hi Sasi,

You have to reload the Object again after saved.  You can do a query to load all the fields again, because that's the only way to reload the fomular fields' value.