Please enable JavaScript to view this site.

Version:

Navigation: Activities > Activity Reference

Add Form Element Activity

Prev Top Next More

Description

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.

Usage

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.

Inputs

Element ID

Required

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

Required

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.

Element

Optional

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

Optional

Type: <Display Form>

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

Target Element

Optional

Type: String | Element

An existing element in the form to add relative to. Leave this blank to add the new element to the end of the form.

Target Position

Optional

Type: String

Where to place the new element relative to the existing one.

Known values: above | below | before | after

above - The new element is added to a new row above the existing element.

below - The new element is added to a new row below the existing element.

before - The new element is added before the existing element, on the same row. (To the left of it in Left-To-Right, to the right of it in Right-To-Left.)

after - The new element is added after the existing element, on the same row. (To the right of it in Left-To-Right, to the left of it in Right-To-Left.)

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.

© 2025 VertiGIS North America Ltd. All Rights Reserved. | Privacy Center | Imprint
Documentation Version 5.44 (5d8d25b9)