Filter a selection by a value

Enables parameterized database queries

This form illustrates how you can retrieve the options for a select field from a datasource, and add a filter to the database query. That can happen either when form is initially loaded, or triggered when the user enters a value into a form field.

 

Currently, only selection lists can be filtered. Radiobutton and checkbox lists are not supported!

 

Important: This demo form requires an additional script to work correctly. You can download it via the following button. Then upload the script under Files & Templates > Files or directly at the form under Files.

Initally filtered list
Enable JavaScript to see the sample code

Combined lists
Enable JavaScript to see the sample code

Initially filtered list with repeated elements
Enable JavaScript to see the sample code