For any relation dropdown field in Responsum (Default or custom), you are able to set a filter based on the value of another field using our expression engine.
This way a dropdown filters it’s values based on an earlier user input, restricting what can be selected.
See it in action
Pre-requisites to get started
- Have a relation field for which you want to apply a filter based on data filled out in another field
- Have access to the “In detail customization” of a sub-module to make changes to it’s configuration
Fast-track to Brilliance
- Navigate to the sub-module for which you want to add a dropdown filter
- Open the in detail customization
- Select the default or custom relation field (Dropdown) you want the filter to be applied to
- Turn on “Add filtering logic” and construct an expression to return one or more values that should be available in the dropdown
- Ex. use the attribute function to based on another relation field get values to be displayed in this dropdown (In the example above, the list of Data Attributes is filtered based on the earlier selected “Object” (Cluster of Data Attributes)
- Save the changes to the (custom) field
Step-by-step guidance
- Navigate to the sub-module for which you want to add a dropdown filter
- Open the in detail customization by opening any item followed by pressing the 3 dots in the top right followed by “Customize sub-module”
- Select the default or custom relation field (Dropdown) you want the filter to be applied to
- Turn on “Add filtering logic” and construct an expression to return one or more values that should be available in the dropdown
- Ex. use the attribute function to based on another relation field get values to be displayed in this dropdown (In the example above, the list of Data Attributes is filtered based on the earlier selected “Object” (Cluster of Data Attributes)
- Save the changes to the (custom) field
If you have any further questions related to the use of this relation filtering functionality, feel free to reach out to support@responsum.eu. We are happy to help answer your questions.