Validating the ticker symbol field

The default ticker symbol field in Dynamics CRM 2011 is integrated with MSN Money to bring up information about the entered symbol. When this symbol is not found, the user is faced with an Information Not Available page. Unfortunately, only the website will validate the user input, not your CRM application. For us to validate the symbols, we need to implement an additional piece of functionality. We can thus prompt the user once they have entered the symbol if the input is not valid.

Getting ready

In order to work through the steps of creating a ticker symbol field, use an existing solution or create a new one.

How to do it...

Perform the following steps to customize a ticker symbol field on an Account form:

  1. Add the ...

Get Microsoft Dynamics CRM 2011 Scripting Cookbook now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.