Clear Form Element Error Activity

Description

The Clear Form Element Error activity clears the error of the specified form element. This activity is typically used with the validate event of a form element.

Usage

You may need to validate input from a user in a form element before allowing them to submit a Display Form activity. If the user submits something invalid you could use the Set Form Element Error activity to display an error and then use the Clear Form Element Error activity to remove the error once it passes validation. This activity is most commonly used in a form element's validate event.

Offline Support

This activity works when the device is offline.

Inputs

Element

Optional

Type: String

The form element to clear the errors from, 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.

Outputs

This activity has no outputs.

Properties

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

Version Information

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

© 2018 Latitude Geographics Group Ltd. All Rights Reserved.

Documentation Version 5.9