Scenario is there is case object there is no any visual force page or trigger. i need to show alert box when user is edited the record of employeeId this is text field show alert message that "this employeeId doesn't exceed do you want to continue"


This alert box functionality is not possible with Standard Salesforce page layouts.

It can be done with the use of visualforce.

Otherwise, use validation rule to restrict the user from editing.

  • yes message can see from validation rule. but i need in alert box Apr 3 '18 at 5:33

There's an idea or two for this (actually, more like 16 or so), and is currently under Product Management review. In the meantime, you can either use possibly a validation rule or trigger (which will block the save entirely until corrected), or you could write a Visualforce page or Lightning Component and override the default new/edit buttons. I'd recommend voting on the ideas so that we can have this as a standard feature without coding.

  • yes we can achieved from validation rule and override the page.. but scenrio is show message on alert box without usingn visualforce page,trigger,override etc. Apr 3 '18 at 5:36
  • @cloudZigZag You can't. That's the point. You've gotten two answers that said the same thing already, in two different ways. There's no feature that does this out of the box today, so you would need to write Visualforce.
    – sfdcfox
    Apr 3 '18 at 6:04

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.