Sometimes we need to show/hide certain fields as picklist value changes for example there is field called ‘Reason’ and we want to hide this field as picklist ‘Product type’ changes to ‘Research’.
We can achieve this by configuring fields action in deluge script.
steps
- Go to the field on which you want to add action ,in above example ‘Product type’.
- Field Deluge Name is the name of the field we’ll refer in the deluge script.
- Select->field properties->Configure field action.
- Select Field Actions -> Type -> On User input block in Script builder.This action will be executed when user changes field value.
- Drag if-else condition statement.
- add logic as below image& save the script
The ‘Reason’ field will be hide as picklist ‘Product type’ changes to ‘Research’, as shown below.