Hidden Input Fields

Hidden input elements are HTML

<input type="hidden"></input>

controls. They are not displayed in the form, but can be used to retrieve values to be used in the context of the form (e.g., using Angular bindings).

Binding a Hidden Element to a Process Variable

A hidden input can be bound to a process variable using the cam-variable-type and cam-variable-name directives:

<input type="hidden"
       value="testuser" />

In the example above, the hidden input field is bound to the variable named CUSTOMER_ID of type String and contains the value testuser.

Supported Variable Types for Hidden Elements

The hidden input field supports the same variable types as the single line text input <input type="text"></input>.

On this Page: