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

Pop up window for standard save button

       i Have a custom object i want to display the pop up window when i select the picklist value, and  when i click on save button  i have to display this pop-up window on standard salesforce page.
  how can i acheive this..??
Hi , 

Pop up window want to stop creation if picklist value selected.,

you can add the pop window using trigger but need to use trigger.addError() method, it will stop creation of the record.

                       when i select picklist value and click on save in this case i have to display pop-up, when i use trigger.adderror in that case message is displaying any suggestion..??

Msg will display but this method stop saving case record.