Formatting field values

Next, you will format field values so that they appear correctly after the user types them. For example, you need a dollar sign ($) to appear in fields that represent money and parentheses () around area codes of phone numbers.

You can choose from a list of predefined display patterns or you can create a custom pattern. In this case, you will create a custom pattern by using the characters 9 and z, as well as the dollar sign ($) and parentheses (). In our example, given the input 1234567.89, the custom display pattern ($z,zzz,zz9.99)will display $1,234,567.89. For more information about patterns, see LiveCycle Designer ES Help.

To format the display and edit values:

  1. In the Hierarchy palette, select Mortgage and, in the Object palette, perform the following tasks:
  2. In the Hierarchy palette, select PropertyPrice, and then hold down the Control key and select DownPayment.
  3. In the Object palette, perform the following tasks:
  4. In the Hierarchy palette, select PhoneNumber and, in the Object palette, perform the following tasks:

You have formatted the fields in your form design so that fields are displayed with a dollar sign ($) that represents monetary amounts and parentheses surround area codes of phone numbers.

Click to continue: Changing a field to use combs


Adobe LiveCycle ES Update 1

 

Send me an e-mail when comments are added to this page | Comment Report

Current page: http://livedocs.adobe.com/livecycle/8.2/wb_help/000055.html