• Resolved egzonnb

    (@egzonnb)


    Hello,
    is it possible to capture what the zoom level of the users input was and receive that in e-mail aswell?

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

    (@aurovrata)

    the plugin already tracks the following fields,

    zoom-<map-field-name> //map zoom level .
    clat-<map-field-name> //map centre latitude.
    clng-<map-field-name> //map centre longitude
    lat-<map-field-name>//latitude of marker on map
    lng-<map-field-name>//longitude of marker on map
    address-<map-field-name>//address field if geolocation is enabled
    manual-address-<map-field-name> //boolean flag if address was manually changed
    <map-field-name> //lat,lng coordinates

    all these are submitted, so you can pick up any these values from the submitted $_POST variable.

    In order to get the value in the notification mail you will need to create a general mail tag that you can filter and add the value you want. To do this I recommend my other plugin, the Smart Grid-layout extension for CF7 which has a general form mail tag that you can filter. For more information see this video tutorial.

    Thread Starter egzonnb

    (@egzonnb)

    Hello,
    thanks for the quick reply, very useful suggestions but not sure if you understood my question right, is it possible that I can get the request of Zoom level like this? https://i.imgur.com/Xh0YVg8.png

    P.S i tested with clat clng was unable to retrieve that piece of information that i need to get from users input. Would appreciate more help.

    Plugin Author Aurovrata Venet

    (@aurovrata)

    is it possible that I can get the request of Zoom level like this?

    no.

    You need to follow the instructions I gave you. Or seek another solution using one of the CF7 plugin hooks prior to the mail being sent.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Capture zoom level’ is closed to new replies.