You need to sign in to do that
Don't have an account?
KIBL
Soft error message
Is there a way to create a 'soft error' message in SFDC? I want to alert users that when they change the stage to a certain value they should then enter products. I don't want to stop them from being able to save the record at this point. I just want to tell them they should enter products.
Can you help?
Certainly. Take a look at the ApexPages.Message class (pp. 347-348 of the VF developer's guide) for information on constucring a message, and look at the method ApexPages.addMessage() (p. 339 of the VF developer's guide) for information about addit it to the page.
There's nothing in the process of manually adding such a message to the context that requires you to block the user's requested action.