Accesing values of a cascade element

rtorres

Member
Hi!

Im working on the google map element and i need to "geocode" the address that the user selects from a cascade dropdown, but how can i Access the value of the selected dropdown(cascade element)?
 
what I need to do is:
the user selects from a dropdown a site(from another table).. then all the cascading elements "get" the information and display it. in those fields, the address is shown

then with that information the geocode button would have to try to locate that "place" then the user manually select the correct address (the user needs to do this manually since some addresses are not well pinpointed)....... but I cannot assign those elements to the GoogleMap "elements" since the cascading element only saves the KEY or ID and not the string that the cascade element shows..

So Im trying to get the "string" or "value" of the cascading elements but i havent found how to access it, And so far Im only able to get the ID of the related record...
 
so far
in a calc element:

$datos = Fabrik.getBlock('form_1').formElement.get('inventario___direccion_1').label;
return $datos;

Wont work error: 0 Call to undefined function getBlock()
 
Yup, that's a known issue (geocoding from joins). I've looked at solutions before, and have some experimental code in the map element I was playing with a while back. I'll take an there look.

Sent from my HTC6545LVW using Tapatalk
 
We are in need of some funding.
More details.

Thank you.

Members online

Back
Top