Using LiveValidation for input validation as you type

Live Validation is a simple and efficient JavaScript library that simplifies the effort of writing your own validation routines. With simple syntax, it allows you to add multiple sets of rules to a field.

This library is open source, and is being released in two versions. For the purpose of Dynamics CRM customizations I am using the standalone version of this library.

Getting ready

For this recipe you can either create a new solution package or use one of the ones you have previously created. Make sure you have at least system customizer permissions in the environment where you will be implementing these customizations.

How to do it...

Follow these steps to add e-mail validation to an e-mail ...

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.