August 31, 2016 at 5:42 am #53938
I have a few pages:
Home (Has a search which leads through to the Results page)
[gmw form="1"](Posts Locator)
Footer Search (Which leads through to the Results page)
[gmw form="5"](Posts Locator)
Results Page (which has the results from the other two pages, plus has its own search form)
Top of page:
[gmw form='3'](Posts Global Map – No relation to search results)
Bottom of page:
If I access the Results page by doing a search on the Home page or Footer then all works well and when I reach the Results page I can then do another search and it works.
However, if I access the Results page directly and try to do a search it doesn’t work.
I do get an error of “Uncaught TypeError: Cannot read property ‘map_controls’ of undefined” for “map.min.js:7”
Please help.September 3, 2016 at 12:05 am #53972
Can somebody please, please, please reply.September 3, 2016 at 5:56 pm #53983
The error indicates on missing arguments in the form data.
Please navigate to the forms editor of the Global Maps with ID 3 and click on the “Save Changes” button to reserve the form settings. Then try the search page again to see if the error is gone and if the search is working.
Let me know if that helps.
Thanks,September 4, 2016 at 10:07 pm #53997This reply has been marked as private.September 7, 2016 at 6:51 am #54012
Hi. I’m still awaiting support on this issue. Please.September 8, 2016 at 3:20 pm #54033
1) In the form editor of form with ID 3, under the “Map” tab, do you have any of the “Map UI Controls” checkboxes checked? If not, can you check one of the checkboxes ( any checkboxes ) and see if it fixes the issue?
Let me know if that helps.September 8, 2016 at 10:04 pm #54047
1. All MAP UI Controls were checked.
2. I have installed v2.1 and now that map error has gone, I can now search without issues on that page. What was also strange is that the Submit Search button appeared not to work but if I typed something into the search field directly and hit the Return key it did.
Anyway, all is working now. Thanks for your help.September 13, 2016 at 9:17 pm #54100
You are welcome.
I am glad it is now working.
You must be logged in to reply to this topic.