You need to sign in to do that
Don't have an account?
Vishwas B N
Show warning message while record saving
Hi Team,
l have requirement for showing a warning message while saving the record.
For example:
Salary field which takes value greater than 5,00,000 should warn like "The amount fall within tax slab" while saving the record.
With the help of validation rule we can show message, but cant save record.
So can you please help, how can i achieve both the warning message( any form of highlight) and save record for my above requirement.
l have requirement for showing a warning message while saving the record.
For example:
Salary field which takes value greater than 5,00,000 should warn like "The amount fall within tax slab" while saving the record.
With the help of validation rule we can show message, but cant save record.
So can you please help, how can i achieve both the warning message( any form of highlight) and save record for my above requirement.
Warning messages still seems to be an Idea.However some workaround has been provided in Idea link
https://trailblazer.salesforce.com/ideaview?id=08730000000Bra7AAC
One of user has suggested this on above link discussion :
" It seems like this could be achieved (as of Spring '20) in Lighting by using Flow.
Since we can now embed screen flows on a record page, this type of check/alert action could fire without user intervention, by merely viewing the record page (and on any device).
Combined with the new (Spring '20) "before save" trigger in flow, we can pop up warning/success/error messages with "show toast" - a free flow add-in from unofficialsf.com (a handy website run by Salesforce folks with little workarounds and tricks mostly centered around flow).
We pre-check the record and fire off a toast pop-up action, and even include record links and custom emojis within the pop-up. "
>>You can try below link for alternated workaround
https://developer.salesforce.com/forums/?id=9060G000000I2YJQA0
If it helps ,please mark it as best answer.
Thanks!
Greeting!
You can give a warning message and save the record by creating a custom button.
Here is the link for reference:
https://developer.salesforce.com/forums/?id=906F000000092voIAA
If you find your solution please mark this as the best answer.
Thank you!
Regards,
Suraj Tripathi
I don't think you can by standard implementation show a message that says "The amount fall within tax slab" however you can have a custom implementation and implement this scenario.
Adding to this the below link has a similar issue that you can try checking:
>> https://trailblazers.salesforce.com/answers?id=90630000000gyM9AAI
Additionally, there is an open idea that is regarding the same below is the link you can upvote so that it can be considered in case if it reaches the necessary number of upvotes.
>> https://trailblazer.salesforce.com/ideaview?id=08730000000Bra7AAC
Let me know if it helps you and close your query by marking it as the best answer so that it can help others in the future.
Thanks.
For the specific requirement that we faced, has been addressed with help of below solution. Hope it will help others too.
For reference : https://www.sfdcstop.com/2020/05/how-to-display-warnings-in-salesforce.html
Thank you all.
Combined with the chrome extension, you can configure "soft validation rules" which display pop ups on standard record edit forms if the conditions are met.