Autopilot: Capture hidden form fields

Autopilot allows you to capture hidden fields from form submissions. To do so, however, those fields need to have specific formatting.

There are two types of hidden fields, described as follows.


Type 1: Hidden via HTML (not compatible)

html

<input type=“hidden”>


Type 2: Hidden via CSS (compatible)

html

<input type=“text” style=“display: none”>

In order for Autopilot to detect the hidden fields, you must use type 2. Type 1 will not be recognized.

Also, in order to differentiate between your hidden fields, you need to make sure you name them. You can do so by adding a 'name' attribute in the field <input> tag, like so:

<input type=“text” style=“display: none” name="example"> 

You will know when a hidden field has been successfully detected, as the field will appear in the preview when setting up your form: