Skip to content
Front User Submit
Menu

Google Map fieldPro

Let users pick a location with Google Maps address search, then show it on a map in the post with a shortcode.

The Google Map field lets users search an address and choose a location, for example for an event, a shop or a listing. You can then show the location on a map in the post. This is a Pro field.

1. Get a Google Maps API key

  1. Open the Google Cloud Console and create a project (or use one).
  2. Turn on billing for the project. Google requires it, but has a free monthly amount.
  3. Enable these APIs: Maps JavaScript API and Places API.
  4. Go to APIs & Services → Credentials → Create credentials → API key.
  5. Restrict the key to your website address (HTTP referrers), so others cannot use it.

2. Save the key in the plugin

Go to Front User Submit → Settings → Main Settings → Google Map API, paste the key and click Save Changes.

Without a key, the form builder shows “Before using this field, please add your Google API Key in Settings.” when you add the field.

3. Add the field to a form

Setting What it does
Label, Required, Help Text, Placeholder, Class As in other fields
Name Meta key, for example location
Country Code Limit address suggestions to one country, for example de or us
Required error text Default “Please add google map field”
Not correct content Your message when the value is not valid

Users type an address and pick one of the suggestions. The chosen place (address and coordinates) is saved as post meta.

4. Show the map in the post

Add this shortcode to the post content or your theme template:

[fus_google_map meta_name="location"]

All options (height, zoom, marker text and more) are in the Shortcodes reference.

Suggestions do not appear?

See Google Map field does not work.

Last updated 2026-11-18