Filter Form Element Items Activity

Description

Filters the items of the specified form element.

Usage

You may need to filter form element items for an Auto Complete form element within a Display Form activity. You could create a collection of items or a feature set earlier in your workflow. You may use this collection or feature set to populate the suggestions in an Auto Complete form element. Using the Filter Form element items activity allows you to filter the suggestions based on text the user has input in the Auto Complete and only display these items.

Inputs

Element

Optional

Type: String | Element

The form element to filter, specified as an expression or ID. For example, =$form1.state.autoComplete1 or autoComplete1. Leave Element blank to target the form element that the subworkflow belongs to.

Phrase

Optional

Type: String

A set of words to filter the items by.

If not specified, the current value of form element that triggered the subworkflow is used as the filter phrase.

Outputs

result

Type: Boolean

The result indicates if any items remain after filtering.

Properties

For information about the ID, Display Name, and Description properties, see Properties Common to all Activities.

Connectivity Requirements

This activity works when the device has intermittent connectivity to the network.

Version Information

Supported from: Geocortex Viewer for HTML5 2.9, ArcGIS Web AppBuilder 2.4.