Open topic with navigation

# 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.

FormsSection

FormUrlRegex

InputSelector

InputValue

SubmitSelector

ValidateFormData

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]

© 2017 Hewlett Packard Enterprise Development LP | Send documentation feedback to HPE Close Send documentation feedback To open the configured email client on this computer, open an email window. Otherwise, copy the information below to a web mail client, and send this email to AutonomyTPFeedback@hpe.com. We appreciate your feedback! Product: Topic Title: Help Topic: Feedback:

_HP_HTML5_bannerTitle.htm