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
CRMUser23CRMUser23 

Popup message

How do I create a popup message upon selecting a field value: ex, when I select country = USA I need a popup with a message.
BGrimesBGrimes
You could create a custom s-control that has the values to be selected, and on the selection a defined (by selection) message can pop up.  If Ok is clicked you can then write that value to the object just like it would have done natively.  That would just require a little HTML s-control with a javascript function to read the selected value, call alert() with the right message and then save (if desired) (ajax toolkit).

Or perhaps I have just engineered the better mousetrap and something like this can be done with a field update to have a field hold the value desired and until that field is blank, a validation rule does not permit saving. 

Bryan