• Resolved anderandreani

    (@anderandreani)


    Hi,
    thank you very much for this plugin.
    I’ve built a form to get latitude and longitude from a user using the plugin Location Module (Lite) for Contact Form 7.
    The plugin adds a field type called Location Module and when the user submits the form, it’s possible to get the latitude and longitude using the mail tags: [cf7-location-lng] and [cf7-location-lat].
    The problem is that those tags are not available in the drop down list in the Post My CF7 Form plugin but only the first one called [location]. Is there any work around to save even those data?
    Thank you

    Ander

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author Aurovrata Venet

    (@aurovrata)

    Hi Ander,

    thank you very much for this plugin.

    you’re welcome. Feel free to leave a rating to encourage others to try it out.

    Actually I was looking for a decent google map location plugin extension for cf7 myself last month and ended up writing one which plays nicely with cf7 as well as Post My CF7 Form. I am yet to submit it, probably release it next week, but if you are interested in playing around with it to compare with Location Module, you can find it in my github repo.

    As for the mapping of the location field to your custom post type, simply select the [location] field from the dropdown when you map it, and it will save the location as a string in the form lat,lng which you can then explode into an when you reload it from the post.

    If you want to store the individual lat & lng values as separate custom meta fields, you will need to use the filter option provided in the drop-down and then extract the values from the [location] field in the posted data.
    `

    Thread Starter anderandreani

    (@anderandreani)

    Thank you very much for your reply.
    I installed your Google Map plugin but I see that there’s no text box where you can type the address. I think that it would be a nice alternative giving the option of typing your address other than search into the map for the exact point.
    I found this alternative:
    https://calderaforms.com/doc/using-geolocation-fields/
    just to let you know what is around.

    Thanks also for the help with the Location Module plugin but when I use [location] and save it into a custom field I get the typed address and not a string with lat,lng. Do I miss something?

    Thank you

    • This reply was modified 9 years, 2 months ago by anderandreani.
    Plugin Author Aurovrata Venet

    (@aurovrata)

    I just update the Contact Form 7 Google Map module to v1.1 and it now has the functionality you are looking for, please try it to see if it solves your issue.

Viewing 3 replies - 1 through 3 (of 3 total)

The topic ‘Field missing for CF7 extensions’ is closed to new replies.