Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.


Panel

On this page

Table of Contents
exclude(On this page).*
stylecircle
typeflat
separatorPipe

UI Text Box
sizemedium
typeinfo

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. 


Image AddedConfiguration

ui-text-box
typenote

In this documentation and the post function configuration you will notice the symbol ( * ) next to some parameters, it means that this field is mandatory and shall not be left empty. Fields without the symbol are optional.

Basic configuration*

Below you will find a detailed description of each parameter of the basic configuration of the function.

Field*

Expand
titleField
Info
iconfalse

Select the cascading field to be updated.

UI Text Box
typetip

Start typing to search for a field.



UI Expand
titleOption level
*
Info
iconfalse

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

  • Parent
  • Child


UI Expand
titleOption name
*
Info
iconfalse

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

Mode


UI Expandinfo
titleiconfalseMode

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


UI Expand
titleAdditional options
You have the option to sort the options list you added, alphabetically.


The post function will only be executed if the condition is met (returns true).

UI Expand
iconfalse
titleConditional execution

Include Page
DECADIS:_snip_condExecution
DECADIS:_snip_condExecution

Enter a condition (Logical/boolean condition) using the JWT expression parser functions syntax.

You can even logically link and gather conditions in expressions as you like in order to map more complex conditions.

UI Text Box
typenote




Excerpt Include
DECADIS:Contact support
DECADIS:Contact support
nopaneltrue


Page properties
hiddentrue


Tech review

Status
titletodo

Style guide

Status
titletodo

Status
titletodo
Status
colourYellow
titleReady for review
Status
colourGreen
titledone
Status
colourRed
titleflagged


Page properties
hiddentrue


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