Set Input Value
Last updated
Last updated
Set Input Value
is a that allows you to set the value of , and elements on a page or form.
Refer to the block for dynamically generated content.
The block comes in two modes which are discussed below.
The Mode 1 version of the Set Input Value block consists of (from left to right):
The Mode 2 version of the Set Input Value block consists of (from left to right):
The image below shows an example of the Mode 1 version where the Data value parameter is attached to a Variable Value block configured to use the variable b which has been set to "John".
NOTE: Using a CSS selector, you can operate on multiple elements that match the criteria specified by the selector. See the references below for more information:
Element: to choose the element you want to set the value of.
Data: that accepts the value to set (of type )
Element: that accepts either a value in the form of a or an value The Element block comes pre-attached for your convenience but can be removed and customized.
Data: that accepts the value to set (of type )
In the next example we see a Mode 2 version where the Element value parameter is attached to a Text block containing a that selects the same element. This time the Data value parameter is attached to the Text block containing the text "Jane".