February 21, 2019 at 5:46 am #58700
I successfully added a form that searches through all of the members on this site but now I’m at a roadblock. I need to have a map appear above the form with all of the locations of the members on it once this page loads.
How would I accomplish this?February 22, 2019 at 12:54 pm #58724
Please follow these steps:
1. navigate to the “Page Load Results” tab of form editor in the dashboard. Check the “Enable page load features” checkbox and in the “Display map” dropdown menu select “Using shortcode”. Then Set up the rest of the filters on this tab as you wish.
2. Navigate to the “Form Submission” tab and set the “Display map” dropdown to “Using shortcode” as well.
3. In the content of the page where you display the form use the shortcodes like the below ( replace 1 with the ID of your form ):12[gmw map="1"][gmw form="1"]
let me know if this helps.February 25, 2019 at 4:30 am #58739
Thank you for your reply. Unfortunately, the map is still not showing up.
I checked the “Enable page load features” checkbox and updated the ‘Display Map’ dropdown
also updated the ‘Form Submission’ tab
here is how I have the shortcode displayed:
Any other ideas? Any other pointers would be helpful.February 25, 2019 at 2:40 pm #58751
Have you checked the “Visitor’s current location filter” checkbox?
Can you please provide a screenshot of the entire Page Load Results tab?February 26, 2019 at 5:50 am #58757
Yes, I checked that box. I attached the screenshot of the whole page.
Attachments:You must be logged in to view attached files.March 5, 2019 at 10:52 am #58780
Could you give me any more pointers for this?March 5, 2019 at 12:21 pm #58781
I think the city filter option is the issue.
When adding an address to a post, GEO my WP geocodes it returns the location fields from Google API. And those location fields will be saved in the database.
So if you enter the address “5310 W 23rd St, St Louis Park, MN 55416, USA” for example, the city field that returns from Google and saved in GEO my WP database might be “Saint Luis Park” instead of “St. Luis Parks”. And because the city filter will search for the exact term ( St. Luis Parks ) in the database, you will not get results.
Remove the city filter from the page load results and try again.
And since you are using the address filter to search nearby by location, you should also remove the zip code, state, and country filters. Those filters the results by the exact term, rather than by proximity, like the address filter.March 6, 2019 at 10:31 am #58822
You are a gentleman and a scholar, thank you!March 30, 2019 at 8:59 pm #59006
You are very welcome. I am glad I could help.
The topic ‘Displaying a map on page load’ is closed to new replies.