Clear Form Element Error Activity


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.


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.




Type: String | Element

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.


This activity has no outputs.


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.