This field allows users to draw a boundary on a Google Map and then automatically check whether an address entered in a linked address field is within those boundaries. On the front end it populates a hidden field with true or false. That field can be used in conditional logic for any fields that support it. For example, you can show different waitlist fees for residents or non-residents of a neighborhood.
To use it you have to add both a Geofence field AND an address field. If the Gravity Perks Address Autocomplete add-on is activated it supports that as well.
Add Geofence Field and Address Field
Click on the Geofence Field Settings
Draw Boundary & Link Address Field
In the General section of the Geofence settings click on Edit Geofence Area. It will open a map overlay that centers on Washington, DC by default. Your browser will prompt you to allow location access so that it can automatically center on your address. Click on the map to draw the boundary, ending by clicking in the original point to close off the polygon.
Then hit Save Geofence to save the polygon.
Select the Linked Address Field
Now scroll down in the field settings to Target Address Field and select the address field you added in the first step.
Optionally Show Map in Form
If you would like the map displayed to your users simply click the Display Map on Form checkbox in the Geofence field settings.
That results in a fully responsive map being included in the form at the same position as the geofence field. If you want the map to be at the top of the form you would simply drag the field to that position in the form editor (the field order doesn't affect functionality in any way).
Enable Conditional Logic
Finally, select any field that you want to manipulate based on the Geofence field value (true or false). In this example we are showing a Resident Application Fee product field if the address entered is within the specified boundary. Otherwise it will be hidden.