WordPress.org

Ready to get started?Download WordPress

Forums

Geo Mashup
[resolved] Gravity Form - Location Save (5 posts)

  1. MCM
    Member
    Posted 1 year ago #

    I am allowing users to submit via a gravity form. This is then saved as a custom post and is working 100%.

    However, on submitting the form I would like them to be able to save the location as I would in the wp admin section.

    i.e. I would like them to see the location lookup map box thing on the gravity form, please let me know if this can be done?

    http://wordpress.org/extend/plugins/geo-mashup/

  2. Dylan Kuhn
    Member
    Plugin Author

    Posted 1 year ago #

    I've considered writing a gravity forms add-on to do that, but I haven't done it yet. The simplest way to get something working is to set the "Geocode Custom Field" Geo Mashup setting to something like "place_name", then add a Gravity Forms custom field text input to save to that field.

  3. MCM
    Member
    Posted 1 year ago #

    I have done this, but then the address still needs to be geocoded. In fact one has to re-type the address in that search location box on the post (edit mode). Anyhow thanks for your plugin and feedback.

  4. Dylan Kuhn
    Member
    Plugin Author

    Posted 1 year ago #

    The address geocodes automatically for me in a test setup. Here's the Geo Mashup setting I used:

    http://cl.ly/image/2f2t3r1Y2o31

    and here's the Gravity Forms field:

    http://cl.ly/image/0y181e3u3C0u

  5. MCM
    Member
    Posted 1 year ago #

    Dylan, no idea why it did not work before but it is working now.

    I set the custom-field to capture to as geo_address and it somehow geo-coded it.

    I must have done something wrong up front.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic