Get Input Value

Block Information

Available in: Page Flow

Toolbox Category: Input

Block Type: Output

Output Type: text

Get Input Value is an output block that allows you to retrieve the value of Input, Dropdown and Multi-line elements on a page or form. The output is of type text and is compatible with Value Parameters of type text or of type any.

Refer to the Get Input Value in Data Design block for dynamically generated content.

The block comes in two modes which are discussed below.

Mode 1

The Mode 1 version of the Get Input Value block consists of a Selectable Input to choose the element you want to get the value of.

Mode 2

The Mode 2 version of the Get Input Value block consists of a Value Parameter that accepts either a text value in the form of a CSS Selector or an element value. The Element block comes pre-attached for your convenience but can be removed and customized.


Usage Examples

The image below shows an example of the Mode 1 version where the variable b is set to the text entered in the selected input element.

In the next example we see a Mode 2 version where the variable b is set to the text entered in the selected input element. This time the element is selected using a CSS Selector.

Lastly we have another example with a Mode 2 version. This time the Show Information Popup block is used to show a message that contains the text entered in the selected element.

Last updated