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 restricted to request type or request header type fields exclusively. Avoid using the HTML - Rich Text Field data mask in request built-in fields like the DESCRIPTION field or request header type field group fields such as the PROPOSAL_NAME field.

    • The maximum length of 4000 characters allowed for the text area applies to the entire HTML code, including tags.
    • Available in 24.2 and later versions: You can store text content of any length in the text area field by setting the ALLOW_NO_SIZE_LIMIT_RICH_TEXT_FIELD parameter to true. However, if you apply the HTML - Rich Text Field data mask to request built-in fields or request header type field group fields, the ALLOW_NO_SIZE_LIMIT_RICH_TEXT_FIELD parameter does not take effect. These fields remain restricted to the maximum length of 4000 characters.

    HTML - Constant Rendered HTML Code

    Available in 24.2 and later versions

    Field enables you to add custom static UI elements, such as click-able buttons.

    To implement this, configure a text area field to use the HTML - Constant Rendered HTML Code data mask, and configure your custom HTML code for the UI elements in the Visible Value area on the Default tab of that field. For details, see Create request type fields.

    Note: This data mask is only available to a text area field of a request type and fields using this data mask are not visible in the mobile UI.

  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