1. Fields
  2. Hidden Field

Fields

Hidden Field

The Hidden Field adds a hidden field to the form.
Hidden fields are not displayed on the form, but are submitted with the form data.

Basic Usage

Adds a hidden field to the form.

loading...

Parameters

See fields for common field parameters like validation and conditional rendering.

params.value
required

An object containing settings for the value of the hidden field, see below.

type
required

One Of: string | jsonata | apicall


expression
optional

The value of the hidden field.

params.value.type params.value.expression Use
string
required
Given value is used as is
jsonata
required
Evaluated as a jsonata expression
apicall
unused
See api_call below

api_params
optional

required if value.type is apicall.

An object containing the parameters for the API call, see below.

method
required

One Of: GET | POST | PUT | DELETE


url
required

The URL of the API call.


headers
string[]
optional

An array of headers to send with the API call.


body
optional

The body of the API call, if the method is POST or PUT.



Examples

Basic Example

loading...
Result
loading...

JSONata Example

loading...
Result
loading...

API Call Example

loading...
Result
loading...

Advanced Calculation Example

loading...
Result

Preview of the hidden field calculating a value

loading...