Forum Replies Created
-
AuthorPosts
-
October 9, 2024 at 2:53 AM in reply to: ✅Google Map Field attached to User Profile not updating #46635
Suzanne Baker
ParticipantHi there! Happy to help if I can, how do I contact you?
February 16, 2023 at 6:26 AM in reply to: ✅Google Map Field attached to User Profile not updating #40545Suzanne Baker
ParticipantThank you for this documentation. Between the documentation, WS Form's Google Address and Google Map, the map and search are both working perfectly. Thank you!
February 10, 2023 at 11:43 PM in reply to: ✅Google Map Field attached to User Profile not updating #40487Suzanne Baker
ParticipantTo clarify, we are populating the city, state and country fields with a text value, the same as when we write it directly in the back end and it works when we write it directly in the back end. Thank you again for your help!
February 10, 2023 at 11:13 PM in reply to: ✅Google Map Field attached to User Profile not updating #40486Suzanne Baker
ParticipantThank you for your response. I'm sorry, I think I'm not explaining myself correctly, or I'm really confused. When using Metabox's Google Map field, I use the address field that is provided to map to text fields - city, state and country. These text fields (which I don't believe would have lat, lon and zoom?) are updated using WS Form. I am not using WS Form's map field. If I use their map field and map it to Metabox's map field, the map updates; however, I am no longer able to search based on city, state or country. This is why I want to be able to use the address field provided in the Metabox Google Map field to update the map. Maybe I'm taking the wrong approach? I hope this makes sense, thank you!
February 10, 2023 at 2:16 AM in reply to: ✅Google Map Field attached to User Profile not updating #40472Suzanne Baker
ParticipantThank you Peter. Could you please elaborate on this? I am confused. When I update the fields in the back end manually, the Google Map field works flawlessly; however, when I update the fields using a form submission, the map data isn't refreshed.
Looking at your Google Map documentation, I believe that the function rwmb_the_value( 'my_field_id', $args ); pulls in the lat, long and zoom of my_field_id which is the address field that we map it to in my case city, state, country. As I said if I update the fields in the backend, it works flawlessly. The problem is that the map field doesn't get updated when values are received from WS Form. How is the map search triggered? Does this function run again after the data is sent to the Google Map address field(s) or does it need to be re-run to refresh the map?
-
AuthorPosts