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 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.