Joget DX Available for Download

Check out Joget DX, the next generation successor to Joget Workflow for faster, simpler digital transformation.

Skip to end of metadata
Go to start of metadata

Introduction

The Javascript Condition Formatter allows you to transform column data based on user-defined conditions.

Javascript Condition Formatter Properties

NameDescriptionScreens (Click to view)
Conditions

In summary, when the specified rule is true, execute this formatting.

Every row in the configured datalist column will be processed with these conditions.

Use {fieldId} to retrieve column value. {fieldId} is a Form field ID from the specified form in the current datalist, so for example: form field ID "name" should be written as {name}.

It is also possible to use hash variable here.

Usage example:

Example result:


When there is a conflict/multiple match between conditions, the first matched condition will take precedence.

Result:

Figure 1: Javascript Condition Formatter Properties




  • No labels