I want to validate three fields and any one of them is not satisfied, after click on the button, should fire one dialogue box with error message. Is there any standard functionality to achieve this?

1 Answer 1


With the standard functionality you can`t create popups. If it is important for you to have a popup you will have to use javascript on that button or create a visualforce page.

However if you just need to display an error near a field or on the top of your page standard validation might work for you like that:

OR( ISBLANK(field1), ISBLANK(field2), ISBLANK(field3) )

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.