Form Message for Dynamics CRM
The form message solution allows you to place custom messages onto a CRM form where you can define text and the image icon such as Success, Error, Information, Warning and Alert.

You can also choose to display the 2 buttons that can be customised with your desired label for example OK, Cancel, or Submit, Cancel, etc... and attach JavaScript functions as call back events for each one.

Form Message with Buttons displayed
Form Message with buttons.png

Available Message Icons
alert_16.png error_16.png info_16.png success_16.png warning_16.png

Adding Form Message web resource to CRM Form
WebResource on Form.png

You can add initial/static text and an icon by supplying Custom Parameters such as text and type like this.
WebResource on Form Custom Parameters.png


Form Message Functions include
showFormMessage(message, type, iFrame, iframeLoadedCallback)
setFormMessageVisible(iFrame, isVislble)
showMessageConfirmation(iFrame, successCallBack, cancelCallBack, successLabelOverride, cancelLabelOverride)

Form Message Types include

Display Form Message
DXTools.FormMessage.showFormMessage("This is a test Message.", "success", "WebResource_HeaderMessage", function () { });

Display Form Message with Buttons
DXTools.FormMessage.showFormMessage("This is a test Message.", "info", "WebResource_HeaderMessage", function () {
        DXTools.FormMessage.showMessageConfirmation("WebResource_HeaderMessage", function () { alert("yes") }, function () { alert("no"); }, null, null);

Last edited Mar 10, 2014 at 4:18 PM by RhettClinton, version 15