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
realtimetasks1.3941822547955107E12realtimetasks1.3941822547955107E12 

trigger example

writing a trigger that will automatically uncheck the "opt in" box when the "opt out" button is populated
Ramu_SFDCRamu_SFDC
Hi,

Here are a couple of posts that has more information on executing an apex or trigger on button click http://developer.force.com/cookbook/recipe/creating-a-button-with-apex
http://sfdc.arrowpointe.com/2009/01/08/invoke-apex-from-a-custom-button-using-a-visualforce-page/