IBM BPM, V8.0.1, All platforms > Create processes in IBM Process Designer > Create user interfaces for business processes > Building Heritage Coaches > Configure Heritage Coach controls > Controlling field and other formatting in Heritage Coaches

Use pre-defined formats in Heritage Coach Controls

Choose from the available predefined character formats for your Heritage Coach controls.

The following procedure describes how to choose from the available predefined character formats:


Procedure

  1. Open the service that contains the Heritage Coach that you want to work with and then click the Coaches tab.

  2. Click the Heritage Coach control for which you want to add formatting.

  3. Click the Presentation option in the properties.
  4. Under Widget Style, click the Select button next to the Format field and choose the format that you want:

    Input required for the Format options
    Option Example
    Currency: $ ###,###,###.## Enter the value 123456789 , the value is formatted to $123,456,789.00
    Currency: ###,###,###.## € Enter the value 123456789 , the value is formatted to 123,456,789.00€
    Currency: € ###,###,###.## Enter the value 123456789 , the value is formatted to €123,456,789.00
    Integer: ###,###,### Enter the value 123456789 , the value is formatted to 123,456,789
    Decimal: ###,###,###.## Enter the value 123456789 , the value is formatted to 123,456,789.00
    US phone: (###) 000-0000 Enter the value 5555555555 , the value is formatted to (555) 555-5555
    US SSN: 000-00-0000 Enter the value 123456789 , the value is formatted to 123-45-6789

  5. Save your changes. When you run the service that contains the Heritage Coach, the values typed into the control are automatically formatted as shown in the preceding examples. If a user enters non-numeric characters, those characters are removed.

    If a user enters only non-numeric characters, no formatting is applied.

Controlling field and other formatting in Heritage Coaches


Related concepts:
Adding custom format types


Related tasks:
Use characters to apply custom numeric formatting