Forms Block
Last updated
Last updated
This block receives or fills in the value of the form element (input, select, checkbox, and radio).
Please note:
This block cannot function without an active tab. For this reason, use the Active Tab block or the New Tab block before using this one.
Below is a screenshot of the block settings.
The block has two modes of operation: CSS Selector or XPatch. In the first mode, the block must receive a css selector of the page element for its operation. In the second mode, the block receives the Xpath of the element. To get a selector, you can use the Element selector tool of the Goless extension.
Settings of the Selector options group:
Multiple. Multiple element selection.
Mark element. The item will not be selected if it was selected earlier.
Wait for selector. Wait for the selector to be received. When you select this element, you can enter the timeout of the selector.
If you need to get information from an element, select the Get form value setting.
Receive the value of the form element. After selecting a setting, two settings are available to save the received data:
Assign to variable. Set the value of a variable or not.
Insert to table. Assign a value to a table column. This setting is usually used in cycles where the rows of the internal workflow table are filled in sequentially.
To get data from an html page element, select the element type in the Form type setting. A screenshot with configuration options is shown below:
Text field. A text field to fill in. Settings for this type:
Value. The value of a text field element such as and , or an element with a contenteditable attribute.
Clear form value. This removes the value from the text field element before inserting the new one.
Typing delay. This adds a time limit when inserting each character of the value. When set to 0, it is inserted immediately.
Select. A selection item from a list of values. Settings for this type:
Value. The value for the element. To select a specific option for a selection item, you can enter the value of the option you want to select into it. The parameter value can be found using the Element Selector tool or Chrome DevTools.
First option. Selecting the first value in the item list.
Last option. Selecting the last value in the item list.
Custom. Selecting a value in the list by index.
Checkbox & Radio. Select the checkbox or radio element or not.