Zum Hauptinhalt springen
Version: 6.19

Dependent fields in CM/Track

It is now possible to configure the visibility of fields in CM/Track based on the values of other fields. This enables dynamic forms where certain fields only appear when specific conditions are met.

The configuration is managed via a new dependent.json file in the portal configuration. You can define conditions for individual fields or entire field groups. The fields or field groups which are defined in the file are displayed only when the conditions are met.

The following conditions are supported:

  • Dates: exact date (["6.24.26"]), before, after, ({"after": "2026-04-22", "before": "2026-05-05"}) any value (["*"])
  • Numbers: exact number ([5]), smaller, greater ({"lessThan": 4, "greaterThan": 0}), any value (["*"]):
  • Strings: exact string (["exact text"]), any value (["*"])
  • Autocomplete: exact value (internal value, e.g. { "internalValue": 100533 }), any value (["*"]) , display value ({"displayValue": "100221 Attachment visibility for customers", object (displayValue and internal value, e.g. {"displayValue": "100221 Attachment visibility for customers", "internalValue": 100533 })
  • Rich text field: any value (["*"])
  • Booleans: true ([true]), false, null
  • Sorted lists: exact value (["germany", "france"]), any value (["*"])
  • Hierarchical lists: exact value (["hardware_categories.computers"]), any value (["*"])

You can combine conditions using AND and OR logic. If you add several fields as conditions for displaying a certain field or field group, it is displayed only if all fields fulfill the condition (AND). If you add several values to a condition, they are combined with OR, i.e. the conditioning field can have any of the values. The conditions after and before, and lessThan and greaterThan are combined with AND, e.g. the value of the conditioning field must be between the defined values.

Example:

{
"dependentFields": {
"myGroup.boolean": [
{
"myGroup.text": ["test"]
}
],
"myGroup.autocomplete": [
{
"myGroup.boolean": [true],
"myGroup.mla": ["hardware_categories.computers"]
}
],
"myGroup.richText": [
{
"myGroup.fixedpoint" : {"lessThan": 3.56, "greaterThan": 0.5}
}
]
},
"dependentGroups": {
"myGroup2": [
{
"myOtherGroup.enum": ["germany", "france"]
}
]
}
}
Activity forms

For the case creation page, you can define dependencies both for fields and for groups. In activity forms, only dependencies by field are considered.