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:
-
Open a new or existing validation, see Configure validations.
-
In the Component Type field, select Text Area.
-
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.
-
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.
-
-
Click Save.
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:
-
From the PPM Workbench shortcut bar, select Configuration > Validations.
The Validations Workbench opens.
-
Search for Text Area - 1800.
-
On the Results tab, select Text Area - 1800.
-
Click Copy.
-
Rename the validation.
-
Edit the validation if necessary.
-
Click Save.
You can use the Text Area validation (1800 characters long) as you define a custom field in the product.