Set Form Field Command


Navigation:  Agent Commands > Action Commands >

Set Form Field Command

Use this command to set input fields in a web form. The command supports the following types of web form fields:

Input fields

Select boxes

Text area fields

Check boxes

Radio buttons.


Note: Some web sites use advanced JavaScript to make web elements emulate standard form fields, and the Set Form Field command does not support those web elements.


Use a normal Navigate Link command to click on a submit button to submit the web form. The submit button can be a standard web form submit button or any other web element that uses JavaScript to submit the web form. A Navigate Link command is not required if one of the form fields automatically submits the web form when an input value changes.


  default data provider for standard text box  

        default data provider for radio button


        default data provider for a select box

Command Configuration

The configuration screen for the Set Form Field command has four tabs - Common, Action, Data and Properties. Use the Common tab to set the command name and select the data provider that provides the input values for the form field. The default data provider for a standard input form field or a radio button is a simple data provider that provides the input values. The input values for a radio button or check box must be either On or Off. The default data provider for a select box form field is a selection data provider. The default selection data provider will attempt to select all appropriate values in the drop-box (select-box), and the Set Form Field command uses those values as input values.


Use the Action tab to control how the web browser loads the URLs. See Action Configuration for more information.


Use the Data tab to configure a data provider that can provide the form field input values. The Set Form Field command can use the data provider configured on the Data tab, or it can use a data provider configured by a parent command. The Data tab is not available if the command uses a data provider from a parent command. See Using Data Input for more information about data providers.