Documentation

Reset Location Button Field

Last modified: February 26, 2025

Introduction

The Reset Location Button Field in WPForms Geolocation allows users to reset geolocation data to its predefined or default state. This field is ideal for forms where users may need to undo or reconfigure previously selected locations. It integrates seamlessly with the Geocoder Field and other geolocation fields, ensuring smooth management of location data.

With minimal setup, this field provides an easy way to clear and reset geolocation data, enhancing user experience and form usability.

Note: this documentation focuses on the geolocation-specific options provided by the WPForms Geolocation plugin. In addition to these settings, the field includes all standard WPForms options, such as labels, descriptions, conditional logic, and more, which can be configured the same way as any other WPForms field.

Configuring the Reset Location Button Field

Use the options below to customize the behavior of the Reset Location Button Field and synchronize it with other geolocation fields in your form.

Reset 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. When the button is clicked, the selected fields will revert to their initial or default state.

Note: Make sure to add the required Geocoder Fields to your form. For more details, see the Geocoder Field documentation.


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 WPForms builder.
  2. Sync with Geocoder Fields: Choose the Geocoder Fields that should reset when the button is clicked.
  3. Test the Reset Functionality: Preview the form and verify that the selected fields reset to their default state as expected.
  4. Enhance User Experience: Use the reset button in forms where users might need to clear or reset location data quickly and efficiently.
menu-circle