Hide dynamic picklist items based on condition

Last updated Sep 27 2019

When you pull a picklist dynamically from Salesforce, is it possible to hide items in it based on a condition? well... it is now!
We’ve added the option to specify the item/s you want to hide in a Picklist/Multi Picklist you’re pulling from Salesforce using the “Hide items” result.


Following is an example of how to hide an item from the dynamic picklist:
- Create a new form.
- Drag a Dropdown element.
- Press on the “Sync from Salesforce” link to pull picklist items.
- Specify the object name (for example: Account).
- Select the picklist that you want to populate in your dropdown (for example: Account Type).
- Press “Apply” to save the mapping.
- Drag a Textbox and add a condition to it:
If the current field is not empty
- Press on the “configure results” button:
- Select “Hide items” result for the “Dropdown” field and press on the “Configure” button to specify which items will hide. For example: Equals Customer - Channel.
- Press “Apply” and save the condition.
- Now publish the form to test it.
- Open the dropdown and you will see that all 7 items are there.
- Now type something in the textbox and open the dropdown again - you will see that the “Customer - Channel” item is hidden.



Enjoy!


CommentsLogin Required
Didn’t find what you were looking for?
Try the following for assistance or Use the Search box.