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. |
<picklist fieldname>.add(instancevariable.fieldname);
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.
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.