This post function allows to dynamically add new options, re-enable disabled options, and disable exiting options in cascading select list custom fields.
It supports adding/re-enabling/disabling root options or child options.
Select the cascading select list field that you want to update from the dropdown list or start typing to look up existing fields.
Select the option level that you want to update. The following options are available:
|Parent||This is the default. The main or parent level will be updated.|
If you want to add/disable a child option you must additionally select a field containing the name of the parent option.
Example: You specify the field region (custom select list field). If the field contains the value Asia, the option will created as a child option (or disabled) of Asia.
Select the field containing the option value that you want to add / disable. The selected field must contain a text value.
Select the action to be executed. The following options are available:
Add new option, or skip if it already exists
|The new option value will be added. If it already exists the operation will be skipped without further analysis. This is the default.|
Add new option, or enable if it is disabled
|The new option value will be added. If it already exists in a disabled state, it will be enabled.|
Force adding new option, even if it already exists
|The new option value will be added regardless of whether it already exists. Duplicate entries will likely be the result.|
Force adding new option, even if it is disabled
|The new option value will be added regardless of whether it already exists - either in an enabled or disabled state. Duplicate entries will likely be the result.|
|The specified option value will be disabled.|
The result of the logical expression must return a boolean value of either:
true→ the post function will be executed
false→ the post function will not be executed
Using the conditional operator, even complex or multi-layered conditions can be constructed.
Make sure to learn more about defining logical expressions and browse through the various examples here: Logical mode
Use cases and examples
|No content found.|