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
Troy PlainTroy Plain 

Creating an Alert Popup on Accounts, Leads etc

Hi all,
I'm looking for a way to create an editable alert popup box to be placed on customers accounts. I essentially need something like this app:

Unfortunately we're unable to install apps on our Salesforce platform so I need to create something similar manually. Happy to use Visualforce or formulas, just need some help!
sagarika bsagarika b
Hi Troy Plain,

You probably have two ways to solve this
  1. Here is a 'complete' VisualForce page using such a popup:
window.document.onload = new function(e)
   alert("Checkbox is True");
    {      alert("Checkbox is False");

      2.  Formula field displaying an image indicator 
1IF (NOT(ISBLANK(text(alertChekBox__c))) , IMAGE("/img/msg_icons/error24.png", "high risk") , "")
You just need to put right fields here.

I hope it will be helpful to you