This plugin hasn’t been tested with the latest three major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

Location Module (Lite) for Contact Form 7

Description

Location Module for Contact Form 7 is an “Contact Form 7” extension to let users search their location, adjust and send it. It displays an address form and a map (using Google Maps). The user can set their address and locate it on the Map by pressing “Set” button. Is possible to drag and drop the marker to adjust the location. Using: cf7-location-lng’,’cf7-location-lat’ and ‘cf7-location-url’ tags is possible to send in the email the coordinates and the location link set by the user.

Required Plugins

The following plugins are required for Location Module (lite) for Contact Form 7 users:

  • Contact Form 7 by Takayuki Miyoshi – Contact Form 7 can manage multiple contact forms, plus you can customize the form and the mail contents flexibly with simple markup.

This Plugin Needs Your Support

It is hard to continue development and support for this free plugin without contributions from users like you. If you enjoy using Contact Form 7 Location Module and find it useful, please consider making a donation. Your donation will help encourage and support the plugin’s continued development.

Credits

Thanks to GMaps.js v0.4.25 https://github.com/hpneo/gmaps

Installation

  1. Upload the entire location-module-for-contact-form-7 folder to the /wp-content/plugins/ directory.
  2. Ensure that Contact Form 7 is activated.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Go to Plugin Settings and fill API KEY field with a valid Google API key
  5. Location Module is now available on the form edit page of Contact Form 7

FAQ

Installation Instructions
  1. Upload the entire location-module-for-contact-form-7 folder to the /wp-content/plugins/ directory.
  2. Ensure that Contact Form 7 is activated.
  3. Activate the plugin through the ‘Plugins’ menu in WordPress
  4. Go to Plugin Settings and fill API KEY field with a valid Google API key
  5. Location Module is now available on the form edit page of Contact Form 7

Reviews

Great!

Woks perfectly! I tried tons of plugins to get this functionality, but finally, it's the only one doing the job. And it's very simple to configure and to use. The error message is due to an empty field on a computer. The field needs an adress before clicking the icon. But on a mobile, with location activated, it works, no need to enter an adress.

No Longer Working/Supported?

Set up the plugin with a valid Google Maps API and Contact Form 7 (both using the most current versions). No other plugins activated, using a stock WordPress theme. A maps is displayed on the contact page, but the only thing that happens is the error message "Error while geocoding your address. Please retry."

Great plugin – maybe some new options

Hi, First of all, this is a great plugin! It really covers almost anything I needed. Just a few questions: 1. Now when I enter a business address the map flies to the right location even if there are (small) mistakes in the input (as it would happen on googlemaps), however, if you type the wrong business/store name, googlemaps would propose similar ones. That would be a great feature in the plugin. I need this since I am mapping the fields from CF7 into my database and I would need all the user who want to mention a place, to mention that exact place. 2. Would it be posible to include a reser button for the address field just in case a user enter a wrng address and wants to change it? Thank you VERY MUCH. Javier

Excellent plugin

Perfect integration with Contact Form 7. The plugin works smoothly. The developer replied kindly and quickly to my request. Now it allows using Google Maps' API.
Read all 5 reviews

Contributors & Developers

“Location Module (Lite) for Contact Form 7” is open source software. The following people have contributed to this plugin.

Contributors

Change log

1.1.0

  • New Feature: acquire GPS location
  • Plugin rewritten in OOP
  • Wrapped JS to avoid conflicts

1.0.12

  • Security improvements
  • Fixed Localization bug
  • Added Custom Text on SET button
  • Enable / Disable start location marker
  • Added Italian Language

1.0.11

  • Security improvements
  • Localization support with https://translate.wordpress.org/projects/wp-plugins/location-module-for-contact-form-7
  • If no Google Maps API KEY is set a dismissible warning appear on admin area.

1.0.10

  • Added Reset Button and created an option to enable/disable it
  • Bug Fix: When the location field isn’t required and error that the field is required appear on form submit.
  • Bug Fix: Default Zoom not working

1.0.9

  • Added Reverse Geocoding function when user move the marker
  • Added Map Type Option

1.0.8

  • Fixed URL Update on map marker update
  • Removed deprecated functions

1.0.7

  • Fixed SET Button float problem
  • Fixed JS Error on resize
  • Switched to minified css

1.0.6

  • Fixed Validation Deadlock

1.0.5

  • Fixed JS BUG

1.0.4

  • Fixed JS BUG

1.0.3

  • Added Google Maps API Key option

1.0.2

  • Added default values on plugin options
  • Code improvements (Stability & Security)

1.0.1

  • CSS Minor Fixes

1.0

  • First Version