Sets a form field to a new value.
Parameters
Section titled “Parameters”Browser
Section titled “Browser”The browser to work with.
Selecting "frontmost browser" will only work if the application currently in the foreground is a supported browser.
Only available if Target tab isn’t set to "specific tab".
Type: Browser
Target tab
Section titled “Target tab”Specify which tab you want to work with. The option "active tab of frontmost window" will target the currently active tab at the time this action is executed, while "specific tab" will let you target an existing browser tab.
Options:
- active tab of frontmost window
- specific tab
Specific browser tab
Section titled “Specific browser tab”If Target tab is set to "specific tab", this parameter expects a browser tab reference.
Type: Browser Tab
Match form field
Section titled “Match form field”Select how the form field should be looked up, either by the field's name or id attribute, or by a CSS selector (see https://developer.mozilla.org/en-US/docs/Glossary/CSS_Selector for more info).
Options:
-
with
nameattribute of -
with
idattribute of - identified by CSS selector
Form field
Section titled “Form field”The form field descriptor, i.e. either the field's name or id attribute, or a CSS selector, depending on what's selected in Match form field.
Type: Text
For a text or number field, the value will be inserted as is. For radio buttons, the radio with the specified value is selected. For a checkbox, a value of '1', 'checked', 'enabled', 'on', 'true' or 'yes' will enable it, anything else will disable it. ('checked' is the canonical value, the rest exist for your convenience.)
Type: Text
Trigger field's change event
Section titled “Trigger field's change event”Fires the HTMLElement's change event on each field after changing it. (See https://developer.mozilla.org/en-US/docs/Web/API/HTMLElement/change_event for more info.)
Type: Boolean (YES/NO)
Submit parent form
Section titled “Submit parent form”Fires the HTMLElement submit event on the last field's parent form. (See https://developer.mozilla.org/en-US/docs/Web/API/HTMLFormElement/submit_event for more info.)
Prerequisites: The field could be found and set, and the parent <form> element exists.
Type: Boolean (YES/NO)
Pause when done
Section titled “Pause when done”Add a pause before proceeding to the next action in the workflow.
Options:
- no pause
- 0.5 secs
- 1.0 secs
- 1.5 secs
- 2.0 secs
- 2.5 secs
- 3.0 secs
- 3.5 secs
- 4.0 secs
Return Value
Section titled “Return Value”Boolean (YES/NO)
Related Links
Section titled “Related Links”- Search the Browser Actions community forum for "Set Form Field Value"