Documentation

Reset Location Button Field

Last modified: January 14, 2025

Introduction

The Reset Location Button Field in Gravity Geolocation provides users with a convenient way to reset geolocation data to its default or predefined state. It integrates seamlessly with the Geocoder Field and other geolocation fields, ensuring efficient management of location data within your Gravity Forms.

This field is particularly useful for forms where users may need to undo or reconfigure previously selected locations, offering a quick and intuitive solution to reset data.

Configuring the Reset Location Button Field

Customize the Reset Location Button Field to fit your specific use case using the settings described below.

Resent Location Field options
Configuration panel for the Reset Location Button Field in the plugin settings.

1. Geocoder Fields

Select one or more Geocoder Fields to synchronize with the Reset Location Button Field. Clicking the button will revert the selected fields to their initial or default state, ensuring accurate resets.


Setting Up and Using the Reset Location Button Field

Follow these steps to configure and use the Reset Location Button Field effectively:

  1. Add the Reset Location Button Field: Insert the Reset Location Button Field into your form using the Gravity Forms editor.
  2. Sync with Geocoder Fields: Select the Geocoder Fields that should be reset when the button is clicked, ensuring smooth synchronization across geolocation fields.
  3. Test the Reset Functionality: Preview the form to verify that the selected fields return to their default state as expected when the button is used.
  4. Enhance User Experience: Include the reset button in forms where users might need to clear or reset location data efficiently.
menu-circle