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
ForceMe77ForceMe77 

Want to change a default before rendering a page

I'm a bit green with SF.  I need to change the default of a check box before rendering the Contacts page while still using the standard controller. It needs to change based on a vale in the Users table. Can anyone give me some guidance on that? It would be greatly appreciated.
ShakilShakil

Hi

 

If you are using VF Page then try it to set to new default in Constructor of extension class. 

 

If not then use AJAX to set it before page load from client side. 

 

 

--Shakeel