Add Form Element Activity


The Add Form Element activity allows you to place a new form element on the form while the workflow is running. There are a few limitations to what can be added using this activity. It is not possible to create event handlers for new form elements. Also, you cannot add another Header to the form.


You could use the Query Layer activity to perform a search and then use the For Each activity with an Add Form Element activity to add Text Boxes for all of the attributes present in the search results.


Element ID


Type: String

The ID of the form element to add.

This must be unique. If you attempt to use an ID that is already present on the form, it will cause an error.



Type: String

The type of form element to add.

You can specify any type of form element except for Header. A form cannot have more than one Header element.



Type: Element

The definition of the form element to add.

You can supply as many properties of the form element here as you like. If the element contains a property called type, its value is ignored.

Target Form


Type: <Display Form>

The form to add the element to. For example, =$form1. Leave Target Form blank to use the most recently shown form.


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.