Chapter 2. Scripting Form Fields

In this chapter, we will cover the following:

  • Working with text fields
  • Working with number fields
  • Working with currency fields
  • Working with date and time fields
  • Working with option sets
  • Working with lookups

Introduction

In this chapter, we will focus on a few short examples of using JavaScript to interact with various types of form fields.

The recipes will be using the same environment that we provisioned in the previous chapter, but you can use any environment you have available, presuming you have permissions to customize forms. None of the recipes in this chapter are based on the configuration built in Chapter 1, Overview of Dynamics CRM 2011 Customization.

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.