Client Side Function - Add to Picklist Dynamically



Description

 

By default, a picklist field of type "Import Data from form", will display all the values of the imported field. The deluge add keyword is used to dynamically filter and add picklist values based on the selection in a previous pick list field.

 

Note:

You cannot import a picklist field, in another form. You can only import a textfield as a picklist in another form.

 

 

Syntax

<picklist fieldname>.add(instancevariable.fieldname);

Example - Free Flow Scripting

 

Refer the example in the topic, Client Side Functions -> Clear Picklist to add an On User Input field action script. The sample script adds picklist values dynamically.

 

Example - Using Script Editor

 

Refer the example using script builder in the topic, Client Side Functions -> Clear Picklist to add an On User Input field action script. The sample script adds picklist values dynamically.

 

Related Links:

 

Criteria in Import Picklist

Clear Picklist