Web Connector 25.4
Web Connector Help

# Forms Parameters

The parameters in this section specify the information required by the connector if you want to submit forms. You can configure the connector to submit a form so that it can log on to a Web site.

You can set these parameters in the TaskName section. For example:

    [MyTask]
    Url=http://www.autonomy.com
    FormUrlRegex=.*www\.autonomy\.com/.*login\.php
    InputSelector0=input[name=username]
    InputSelector1=input[name=password]
    InputValue0=MyAutonomyUsername
    InputValue1=MyAutonomyP4ssw0rd!
    SubmitSelector=input[name=login]

To submit different forms during a single task, use the FormsSection parameter to define multiple sections containing form settings. Then, set the FormUrlRegex parameter in each section. For example:

    [MyTask]
    Url=http://www.autonomy.com
    FormsSection0=LogOnFormAutonomy
    FormsSection1=LogOnFormAutonomySubsite

    [LogOnFormAutonomy]
    FormUrlRegex=.*www\.autonomy\.com/.*login\.php
    InputSelector0=input[name=username]
    InputSelector1=input[name=password]
    InputValue0=MyAutonomyUsername
    InputValue1=MyAutonomyP4ssw0rd!
    SubmitSelector=input[name=login]

    [LogOnFormAutonomySubsite]
    FormUrlRegex=.*subsite\.autonomy\.com/.*login\.php
    InputSelector0=input[name=username]
    InputSelector1=input[name=password]
    InputValue0=MySubsiteUsername
    InputValue1=MySubsiteP4ssw0rd!
    SubmitSelector=input[name=login]

Copyright 2025 Open Text
Version 25.4 | Last updated October 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.4

Topic Title: Forms Parameters