Skip to main content
edited tags
Link
Brad Bell
  • 67.6k
  • 6
  • 75
  • 145
added 143 characters in body
Source Link

I'm making a google map feature where you type in a search and it drops a pin on the map (standard stuff).

I want to log all the searches for reporting. So, I'm using a Freeform form to collect the location search and display a map on the result page (using the token approach to get the submission info). The result page uses Smart Map to turn the search into a lat/lng and then render the map. I've got that all working great.

What I'd also like to do, for reporting purposes, is to update the Freeform submission with the lat and lng that gets calculated on the result page.

enter image description here

I haven't found a way to update a submission via twig in the docs. Is this possible? Or are there alternative approaches I should consider?

I'm making a google map feature where you type in a search and it drops a pin on the map (standard stuff).

I want to log all the searches for reporting. So, I'm using a Freeform form to collect the location search and display a map on the result page (using the token approach to get the submission info). The result page uses Smart Map to turn the search into a lat/lng and then render the map. I've got that all working great.

What I'd also like to do, for reporting purposes, is to update the Freeform submission with the lat and lng that gets calculated on the result page. I haven't found a way to update a submission via twig in the docs. Is this possible?

I'm making a google map feature where you type in a search and it drops a pin on the map (standard stuff).

I want to log all the searches for reporting. So, I'm using a Freeform form to collect the location search and display a map on the result page (using the token approach to get the submission info). The result page uses Smart Map to turn the search into a lat/lng and then render the map. I've got that all working great.

What I'd also like to do, for reporting purposes, is to update the Freeform submission with the lat and lng that gets calculated on the result page.

enter image description here

I haven't found a way to update a submission via twig in the docs. Is this possible? Or are there alternative approaches I should consider?

Source Link

Is it possible to update a Freeform submission via twig?

I'm making a google map feature where you type in a search and it drops a pin on the map (standard stuff).

I want to log all the searches for reporting. So, I'm using a Freeform form to collect the location search and display a map on the result page (using the token approach to get the submission info). The result page uses Smart Map to turn the search into a lat/lng and then render the map. I've got that all working great.

What I'd also like to do, for reporting purposes, is to update the Freeform submission with the lat and lng that gets calculated on the result page. I haven't found a way to update a submission via twig in the docs. Is this possible?