The Geofence form field lets you draw a boundary on a Google Map, then checks whether the address someone enters in a linked address field is inside it. On the form it fills a hidden value with true or false, which you can use in conditional logic on any field that supports it. For example, you can show different waitlist fees for residents and non-residents of a neighborhood.
Note: You must add both a Geofence field AND an Address field. If the Gravity Perks Address Autocomplete add-on is active, it works with that too.
Add the Geofence and Address Fields
Go to Content > Gravity Forms and open your form.
Add a Geofence field and an Address field.
Click the Geofence field to open its settings.
Draw the Boundary
In the General section of the Geofence settings, click Edit Geofence Area. A map opens, centered on Washington, DC by default.
Your browser asks to allow location access so the map can center on your location.
Click on the map to draw the boundary. Finish by clicking the first point to close the shape.
Click Save Geofence.
Select the Linked Address Field
Scroll down in the field settings to Target Address Field and select the address field you added.
Optional: Show the Map on the Form
Check Display Map on Form in the Geofence field settings.
A responsive map appears on the form where the Geofence field is. To put the map at the top, drag the field there in the form editor. Field order doesn't affect how it works.
Use It in Conditional Logic
Select any field you want to show or hide based on the Geofence value (true or false) and set its conditional logic.
In this example, a Resident Application Fee product field shows only when the address is inside the boundary. Otherwise it is hidden.









