crawler.form_interaction.pre_crawl.[groupId].form_number

Background

This parameter specifies which form within the page should be used by the pre-crawl form interaction rule. The form number is determined by counting the html form tags in the order of occurrence in the page. For pages with only one form a value of 1 should be used.

Configuration parameters for a rule are grouped using a [GROUP_ID] value common across all settings that make up the rule (group ID must be a number).

This setting is used in conjunction with the crawler.form_interaction.pre_crawl.[groupId].url key.

Setting the key

Set this configuration key in the search package or data source configuration.

Use the configuration key editor to add or edit the crawler.form_interaction.pre_crawl.[groupId].form_number key, and set the value. This can be set to any valid Integer value.

Default value

None.

Examples

Configure the web crawler to submit the second form found at https://www.example.com/login.

crawler.form_interaction.pre_crawl.1.url=https://www.example.com/login
crawler.form_interaction.pre_crawl.1.form_number=2