Support

Account

Home Forums Front-end Issues Google maps in front end with multiple markers allow to tick some of them Reply To: Google maps in front end with multiple markers allow to tick some of them

  • Hi @mikelweb

    For something like that, you need to use a click event to watch the markers, and then add the data to a hidden form. Here’s an example of a click event: https://developers.google.com/maps/documentation/javascript/examples/event-simple. For further support on how to get the markers data and add it to a form, kindly ask Google Maps Community instead.

    For the submitting process you can use acf_form() and hide it. This page should give you more idea about it: https://www.advancedcustomfields.com/resources/create-a-front-end-form/.

    I hope this helps 🙂