This post function allows to dynamically add new options, re-enable disabled options, and disable exiting options in cascading select custom fields.

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


Configuration

Select the cascading field to be updated.

Start typing to search for a field.



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

OptionDescription
ParentBy default.
ChildIf selected, the field that contains the name of the parent



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


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

OptionDescription

Add new option, or skip if it already exists

If the option is found already it will skip it. (Default).

Add new options, or enable if it is disabled

If the option is found already and it is disabled then it will be enabled.

Force adding new options even if it already exists

Opposite to the first mode, it will force create the already existing option.

Force adding new option, even if it is disabled

Unlike the second mode, it will force create the disabled option.

Disable option

Disable an enabled option.



You have the possibility to sort the options list alphabetically.




Use cases and examples




Tech review

Style guide



Short description Adds a new option, or disables an existing one in a Cascading select custom field.
Label