• Resolved MikYF

    (@mikyf)


    Hi.

    With the plugin, can I know the user’s location when they submit Contact Form 7? How do I do it?

    Greetings.

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

    (@aurovrata)

    No, the plugin does not provide this functionality out of hte box, as most desktop browsers are unable to get an accurate location, unless the browsed from a gps enabled device.

    However, if you want to implement such functionality, you can capture the current location from the browser using the HTML geolocation api, and interact with the google map object once it is loaded on the form. (see the FAQ #10 and 11)

    Thread Starter MikYF

    (@mikyf)

    Ok, thanks.

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘User location’ is closed to new replies.