Configure text area validations

This topic provides detailed instructions on how to configure text area validations.

Create text area validations

Text areas vary in size. You can create a text field or area of length 40, 200, 1800, or 4000. Text fields can be configured to display the data according to a certain format.

To create a text area validation:

  1. Open a new or existing validation, see Configure validations.

  2. In the Component Type field, select Text Area.

  3. In the Data Mask field, select and optionally configure one of the following data masks:

    Data Mask

    Description

    Alphanumeric

    Field allows all alphanumeric characters.

    Alphanumeric Uppercase

    Field allows alphanumeric characters and formats all characters as uppercase text.

    Numeric

    Field allows numeric values.

    HTML - Rich Text Field

    Field allows rich text and more flexibility of formatting.

    Note:

    • This data mask is only available to a text area field of a request type or request header type.
    • The maximum length (4000 characters) allowed for the text area applies to the whole HTML code, including the tags.
  4. For the Numeric data mask, configure the following;

    Field Name

    Description

    Maximum Value

    Largest value allowed for this field. You can specify a positive or negative number.

    Minimum Value

    Smallest accepted value for the field. You can specify positive or negative number.

    If Data not Entered, then display a zero

    Determines whether a field with no data displays a zero.

    Use Group Separator

    Determines if the field uses a group separator (such as a comma) to divide characters within large numbers. For example, display 1000000 as 1,000,000.

    The default character used as the separator depends on the locale setting for the machine. You can set the delimiter by using the Regional Settings tab in the Edit My Profile dialog:

    • select Open > Administration > Edit My Profile and select the Regional Settings tab

    Negative Number looks like

    Determines the text used to display negative numbers. Options are:

    • (1000)—parentheses and black text

    • (1000)—parentheses and red text

    • -1000—minus character (-) and black text

    • -1000—minus character (-) and red text

    Number of Decimal Places

    The maximum number of decimal places displayed.

  5. Click Save.

Back to top

Configure 1800 character text areas

Standard text areas are either 40 or 200 characters. You can, however, create a Text Area validation with a character length of 1800.

To create a validation with a character length of 1800:

  1. From the PPM Workbench shortcut bar, select Configuration > Validations.

    The Validations Workbench opens.

  2. Search for Text Area - 1800.

  3. On the Results tab, select Text Area - 1800.

  4. Click Copy.

  5. Rename the validation.

  6. Edit the validation if necessary.

  7. Click Save.

You can use the Text Area validation (1800 characters long) as you define a custom field in the product.

Back to top