# Geo Form

### How Does It Work?

Apply the Geo Form data attribute to your *Form* element (not the *Form Block*).

An input field (set to hidden) will be generated for each available visitor data property. When the form is submitted, the data will be accessible alongside anything else included in the submission. For privacy reasons, the visitor's IP address is not automatically included.

To include or exclude specific properties, add the respective attribute noted in the table below, along with a comma-separated list of property names as the value. The property name is case-sensitive and must match the 'Property Variable' noted in the [Visitor Data Properties table](https://developers.getgeoflow.com/geoflow-docs/overview/visitor-data-properties).

In order to improve page performance, Geoflow will wait until the visitor has interacted with the page (any element is clicked), before adding the hidden field(s) to the form(s).

### How To Implement

<table><thead><tr><th>Attribute Name</th><th width="266.3333333333333">Attribute Value</th><th>Which Page Element?</th></tr></thead><tbody><tr><td>data-geo-form<mark style="color:red;">*</mark></td><td>N/A</td><td>&#x3C;form></td></tr><tr><td>data-gf-include</td><td>propertyName, propertyName</td><td>Any element with the <strong>Geo Form</strong> data attribute.</td></tr><tr><td>data-gf-exclude</td><td>propertyName, propertyName</td><td>Any element with the <strong>Geo Form</strong> data attribute.</td></tr></tbody></table>

No value is needed for the Geo Form data attribute; any value added will have no effect.

<mark style="color:red;">\*</mark>‎‏‏‎ ‎Attribute names with a red asterisk are required; all others listed in the table are optional.

### Explore Further

{% content-ref url="form/autofill-form-field" %}
[autofill-form-field](https://developers.getgeoflow.com/geoflow-docs/feature/form/autofill-form-field)
{% endcontent-ref %}

{% content-ref url="form/auto-populate-select-fields" %}
[auto-populate-select-fields](https://developers.getgeoflow.com/geoflow-docs/feature/form/auto-populate-select-fields)
{% endcontent-ref %}
