• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 1076
  • Last Modified:

Pop-Up Dialog Box via OnChange event in CRM 4.0

I need to pop a dialog box using the OnChange event in CRM.  This dialog box would simply be a reminder telling the user that they need to do something if the check this bit field.

What script would I need to use in order to do this?
1 Solution
You should be able to do this with the alert function.  Put the function below (substituting your own text) in the OnChange event for the bit field.  Remember that if the bit field is a checkbox, then the OnChange event will not fire until after the user tabs off of the field.
alert("You checked this field.  You need to remember to do something.");

Open in new window

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

Join & Write a Comment

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Tackle projects and never again get stuck behind a technical roadblock.
Join Now