You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 15 Next »

The Add or disable option in Cascading Select post function allows to dynamically add new options, re-enabling disabled options, and disabling exiting options in cascading select custom fields.

It supports adding/re-enabling/disabling root options or child options. 

Configuration

Field

Select the cascading field to be updated.

Start typing to search for a field.

Option level

Select the option level where the new option is going to be inserted. The following options are available:

  • Parent
  • Child
Option name

Select the field containing the name of the option to be updated.

Mode

Select the action to be executed. The following options are available:

  • Add new option, or skip if it already exists
  • Add new options, or enable if it is disabled
  • Force adding new options even if it already exists
  • Force adding new option, even if it is disabled
  • Disable option
Additional options
You have the option to sort the options list you added, alphabetically.
Conditional execution

You can optionally specify a logical expression to define the circumstances (or conditions) under which the post function should be executed.

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


If you still have questions, feel free to refer to our support team.