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

S-Control to Check for Forecast Category on Opp

I am trying to see if we can developl an S-Control that would check if the forecast category had changed for an opportunity.
This is the user scenario
User edits opp
Changes Forecast Category
Clicks Save: At this point the scontrol kicks in a show a warning message saying forecast category has changed please confirm the chnage. If Ok is clicked the opp is saved else the edit screen is bought back up
Greg HGreg H
Your specific requirements cannot be met using an sControl. First, the "Save" button cannot be overriden so that is not an option for invoking the sControl. Second, you cannot include sControls within the edit screen so that too is not an option for invoking the sControl.
I suggest you try your luck with a Visualforce page - that could get you what you want.