fillFormInput

The fillFormInput method enters a value into an HTML form.

This method was designed for use with the configuration parameter FormInputLuaScript, when you configure the connector to submit an HTML form.

Syntax

fillFormInput( field, value )

Arguments

Argument Description
field (string) A CSS selector that specifies the form field to complete.
value (string) The value to enter into the field.

Returns

Nothing.

Example

session:fillFormInput("input[id=text1]", "textvalue")