Page History
Panel | ||||||||||
---|---|---|---|---|---|---|---|---|---|---|
On this page
|
UI Text Box | ||||
---|---|---|---|---|
| ||||
The Format field value This post function gives format to formats the current value of a text field using a set of formatting operations, such as trimming whitespaces or performing a search and replace. |
Configuration
ui-text-boxexpand | ||
---|---|---|
| ||
In this documentation and the post function configuration you will notice the symbol ( * ) next to some parameters, it means that this field is mandatory and shall not be left empty. Fields without the symbol are optional. |
Basic configuration*
Below you will find a detailed description of each parameter of the basic configuration of the function.
Field*
Info | ||
---|---|---|
| ||
Select the field to be formatted. |
White space mode
| |
Select the field to be formatted. Available field types are text, versions, labels, select list, radio button, multi-select list and cascading select list. |
UI Expand | ||
---|---|---|
| ||
Select whether to edit blanks (or whitespaces) | ||
Info | ||
| ||
Select an operation to edit blanks. The following options are available (multiple choice is possible):
|
UI Expand | ||
---|---|---|
|
Info | ||
---|---|---|
| ||
Select whether to edit cases. The following options are available:
|
UI Expand | |||||
---|---|---|---|---|---|
| |||||
Define whether you want to find and replace parts of the text. You first have to define the fragments that you want to replace and afterwards specify the replacement. Both parameters can be specified using an expression in Basic text mode. Find mode
UI Expand | | ||||
|
Text (case sensitive) | The text to be replaced must exactly match, respecting the case. |
Text (ignoring case) | The text to be replaced must match but the case will be ignored. |
Regular expression (case sensitive) | Specify the text to be replaced by a regular expression, respecting the case. |
Regular expression (ignoring case) |
Expression*
icon | false |
---|
Enter plain text and optionally use field codes to insert field values.
UI Text Box | ||
---|---|---|
| ||
You can try your expression by clicking on the play button on the top right of the expression box. |
UI Expand | ||
---|---|---|
| ||
Choose between the following two options:
|
Expression*
Specify the text to be replaced by a regular expression, ignoring the case. |
Replace mode
Option | Description |
---|---|
Replace first occurrence | Only the first occurrence of the text will be replaced. |
Replace all occurrences | All occurrences of the text will be replaced |
icon | false |
---|
Enter plain text and optionally use field codes to insert field values.
type | tip |
---|
. |
UI Expand | ||||||||
---|---|---|---|---|---|---|---|---|
| ||||||||
|
UI Expand | ||||||
---|---|---|---|---|---|---|
| ||||||
UI Text Box | ||||||
| ||||||
|
Use cases and examples
Page properties report | ||||||
---|---|---|---|---|---|---|
|
Excerpt Include | ||||||
---|---|---|---|---|---|---|
|
Page properties | ||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||||||||||||||||||||||||
|
Page properties | ||||
---|---|---|---|---|
| ||||
|