Custom e-mail field validation

Working with e-mail fields has been greatly simplified. For the most part, we can just define the field as e-mail and, lo and behold, we need no customization and formatting.

There are exceptional cases to this. We might want to capture multiple e-mail fields, or validate other types of fields that are not defined as e-mail. For this purpose, we still need to pull out our JavaScript toolbox and draft some quick snippets of script. So let's get started.

Getting ready

By now we should have an environment created and proper permissions to tinker around with some customizations. Ideally we should have the permissions of a system customizer or a system administrator, or a similar custom role.

How to do it...

Generating a new ...

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.