Get Element Attribute
Last updated
Last updated
Get Element Attribute
is an that allows you to retrieve the value of any in elements on a page or form. The output is of type and is compatible with of type or of type .
Refer to the block for dynamically generated content.
The block comes in two modes which are discussed below.
The Mode 1 version of the Get Element Attribute block consists of (from left to right):
The Mode 2 version of the Get Element Attribute block consists of (from left to right):
Attribute: configuration setting to specify the to retrieve the value of.
Element: to choose the element you want to get the attribute of.
Attribute: that accepts a value representing the to set or change the value of.
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.
The image below shows an example of the Mode 1 version where the variable a is set to the value of the attribute of a element.
In the next example we see a Mode 2 version where the variable a is set to the value of the attribute of the same element. This time the element is selected using a .