# 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 2020 Micro Focus or one of its affiliates | Send documentation feedback Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a mail client, and then send this email to swpdl.idoldocsfeedback@microfocus.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_FT_HTML5_bannerTitle.htm