Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

Set Form Element Error Activity

Prev Top Next More

Description

The Set Form Element Error activity assigns an error to the specified form element. This activity is typically used with the validate event of a form element.

Usage

Use the Set Form Element Error activity in a validate event to display an error to the user and prevent the form from submitting.

If you use a Set Form Element Error activity, make sure you also use a Clear Form Element Error activity to clear the error. Otherwise, the form may get stuck in an invalid state.

Inputs

Element

Optional

Type: String | Element

The form element to apply the error to, 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.

Error

Required

Type: String

The error message to apply to the form element.

Markdown

Optional

Type: Boolean

Use this to control when values should be considered Markdown.

The default is true.

Outputs

This activity has no outputs.

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.

© 2024 VertiGIS North America Ltd. All Rights Reserved. | Privacy Center | Imprint
Documentation Version 5.42 (220a4365)