Currently I am facing an issue involving making two plugins work well together. I am using a form plugin called formidable to create a new location custom post (custom post was made from a plugin called events manager).
The events manager plugin calculates the latitude and longitude and generates a Google map when the fields: location_Address,location_town,location_postcode,location_region,location_country ... are filled in.
Can anyone tell me how to make a script for the edit 'custom post' screen that moves the cursor to a specified field (after page load), automatically inserts a "space" to the field of choice, and then move the cursor to another field. So that the longitude,latitude and google map generates?
Question Back story (if needed)
The events manager plugin wasnt made to have those fields filled in from an external form source, but rather its own.
To make my self clearer after I create a location using the form from formidable and then go to the edit location screen, every thing looks fine. All fields are filled in (location town, postcode, custom fields etc). But after a second look at the location address details box I can see that the google map isn't loaded, it says "location not found" despite the fact that all the address fields are filled in.
http://awesomescreenshot.com/0761cjewe3 (image link)
I then found out that, when I add a 'space' (or any other character) to the any of the location fields, the google map loads.