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 O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.