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 🙂
Welcome to the Advanced Custom Fields community forum.
Browse through ideas, snippets of code, questions and answers between fellow ACF users
Helping others is a great way to earn karma, gain badges and help ACF development!
We use cookies to offer you a better browsing experience, analyze site traffic and personalize content. Read about how we use cookies and how you can control them in our Privacy Policy. If you continue to use this site, you consent to our use of cookies.