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
Brennan ButlerBrennan Butler 

Validation Rule to Give Warning

I want to write a validation rule that gives a warning but does not stop the workflow. What I need to do is, when an Opportunity is Closed Won/ Quote Submitted to Client, I need a flag or warning to show up that tells people to check to ensure accuracy on our Custom Date of "Estimated Production Start Date"

Is this possible?
James LoghryJames Loghry
A validation rule only works with errors, not "soft errors" or warnings.  However, you could get creative with perhaps a formula field (see the Stoplight image formula example), use a trigger / process to either email or @mention the user in a Chatter post.  Here's a related success community post I came across:
William TranWilliam Tran
Typically this is done via javascript, so override your button to run javascript, use the oonfirm dialog (like confirm("Do you want to continue ?");) to ask whether they want to continue.  If yes, then proceed with the typical save (or whatever processing that button was intending to do).

Aleksandar Basic 12Aleksandar Basic 12
Check out Alerts - Soft Validation Rules ( on the AppExchange.
Combined with the chrome extension ( you can force your users to use, you can configure "soft validation rules" which display pop ups on standard record edit forms if the conditions are met.
User-added image