Sauter la navigation

[Résolu] Google Maps Drag Pin Not Working Toolset Forms Post Update

This support ticket is created Il y a 3 années et 5 mois. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Karachi (GMT+05:00)

Ce sujet contient 3 réponses, a 3 voix.

Dernière mise à jour par Waqar Il y a 3 années et 5 mois.

Assisté par: Waqar.

Auteur
Publications
#2108549

Hey guys,

The option to drag the pin and set the location based on the pin isn't working via Toolset Forms but only when submitting the form to create the post. It works when using Toolset Forms to update the address.

Here is a video explanation showing the issue: lien caché

#2108857

Hello,

I have tried it in my localhost with a fresh WordPress installation + the latest version of Toolset plugins, the drag/drop pin feature works fine in both creating post form and editing post form, please provide detail steps to reproduce the same problem:
How do you setup the post form?

#2110339

I am using the advanced form editor and I'm setting a default location so that the map isn't blank. Did you try that way?

#2113021

Hi,

Thanks for writing back.

Luo will be on vacation this week, so I'll be following up on this ticket.

In my tests, I was able to reproduce this behaviour only when:

a). the address field is set to show conditionally, i.e. it is not visible when the page loads and appears when a certain condition is met
and
b). a default value is set in that address field.

This limitation makes sense as the initialization of the pin dragging gets affected, because the field and the map are not visible when the page loading completes.

I'll share this limitation with the concerned team for further review and for now, a workaround can be to not set a default location in that address field.

regards,
Waqar