VALIDATIONS AND ALERT MESSAGES IN MS DYNAMICS CRM

Validations and Alert Message:

We can use javascript to perform validation and to show alert messages.

Navigation, Go to respective form, (ex: contacts à any name)

  •  Select Form Properties
  •  Form Libraries à Add à Select if already java script library is present (or)
  •  Select “New” option and select java script file name.
  •  Then, Select that library as your form library.
  •  Now, select event handler actions like “OnLoad” or “OnSave” for form level.
  •  For, field levels there are other events available like “OnChange”,”OnFocus”,etc.,
  •  Give function name which was defined in java script.

Note: Write only function in java script file, for example

function show()

{

  alert(“show”);   // Here, we can use any predefined java script code to play

                               // with  forms and its fields.

}

  •    Then, click on “Ok”
  •    Click “Publish” and “Save and Close”





Subscribe

Receive Quality Tutorials Straight in your Inbox by submitting your Email below:

Delivered by FeedBurner

Protected by Copyscape Duplicate Content Checker