googlemap element and input values filled by php

lballard

New Member
Hello In a form that you can see in a joined picture, I've input fields that are filled by values of the joomla profile with a code like this :
profile = JUserHelper::getProfile($user->id);
$city = $profile->profile['city'];
return $city;

This fieds are used by a googlemap element to geocoding as you can see in the joined picture.

But because the values of the input field are note type ant the key tab is not press the geocoding don't work.

Do you know a way to make working geocoding ?

Thank you in advance,

James
 

Attachments

  • geocode.png
    geocode.png
    22.3 KB · Views: 194
  • front.png
    front.png
    166.1 KB · Views: 202
Apologies, I wound up having to go in for another small surgery last week.

I think to resolve this, we'd have to add a new option to the map element, "Geocode on load?".

I'll take a look now, see if that's an easy one or not.

-- hugh
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top