Link to Google maps?

Hi,

I am inspired by this post : Showing a map through and address using google maps

But I can’t use the function “sc_link” in form. Do you have another strategy?

I added an field image :

gmaps

Thanks

Hi

This is my solution :

Calling a function when loading the form or when the address or postal code is modified :

Function googlemaps()

  • Retrieve the address and postal code
  • Replace spaces with a plus sign (+) and add backslashes before ’
  • Create a link on the image toward google maps url
  • Remove the block if the address contains the word “unknown”

Thanks

1 Like