Toggle menu

helper.filterOptions(fieldName, groupNames)

This function filters the option data in list/group field types. The field will need to have its options organised into groups for this to have any use.

Executed

Client-side only.

Arguments

ArgumentTypeDescription
fieldNameString, requiredName of the field (list-type) to filter
groupNamesString, requiredComma separated list of existing group names to include in the list

Example

See Filtering Options in Lists in the forms knowledge base for an example.

Last modified on March 26, 2024

Share this page

Facebook icon Twitter icon email icon

Print

print icon