Get Element by Name

Block Information

Available in: Page Flow

Toolbox Category: Html/DOM

Block Type: Output

Output Type: element

Get Element by Name is an output block that allows you to retrieve a reference to any element on a page or form by providing it's name . The output is of type element and is compatible with Value Parameters of type element or of type any.

The block consists of Name a Value Parameter that accepts a text value representing the name of the element.

NOTE: If there are multiple elements with the same name, this block outputs a reference to the first such element.


Usage Example

The image below shows an example of the Get Element by Name block where the value of the Input element named "Input28" is set to the text "Hello!" using the Set Input Value block.

Last updated