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
vfexp41vfexp41 

Pop up window for standard save button

HI,
       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..??
sivaextsivaext
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.
vfexp41vfexp41
@sivatext,

                       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..??
sivaextsivaext
Hi, 

Msg will display but this method stop saving case record.