Web Connector 25.3
Web Connector Help

# 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")

Copyright 2025 Open Text
Version 25.3 | Last updated July 2025

Send documentation feedback

Close

Send documentation feedback

To send feedback using your default email client, open an email window.

Otherwise, send your feedback and the information below to MFI-swpdl.idoldocsfeedback@opentext.com.

We appreciate your feedback!

Product: Knowledge Discovery Web Connector 25.3

Topic Title: fillFormInput