Forum
Calc Builder Support
Calc Builder supportForums
No se permite escribir sin estar logado. Por favor, login
calculation with google address 03.07.2017 16:12
Hi,
I have adding a google address field,
example.
I have google address: Duomo, Milano , MI Italia ( address, city , district , country ) add region it's possible ?
then,
I have table matrix with rates for ( region or district ).
I can get information from address ( for example: region, country, district) for calculation with table matrix ?
Thank You
I have adding a google address field,
example.
I have google address: Duomo, Milano , MI Italia ( address, city , district , country ) add region it's possible ?
then,
I have table matrix with rates for ( region or district ).
I can get information from address ( for example: region, country, district) for calculation with table matrix ?
Thank You
Re: calculation with google address 03.07.2017 17:51
Hi,
We suggest to check official Google API docs in order to know if it's possible to recover address details or not, here we share the url:
https://developers.google.com/maps/documentation/javascript/3.exp/reference#Autocomplete
In case you only can recover the plain text at your input field, there is a way to split texts based on a separator (for example a comma), using the function explode:
$result=explode(',',$YOUR_INPUT);
so you'll have at $result[0] the first item(address), at $result[1] the second(city), etc. Obviously, this only can work if your addresses are always following the same structure.
Regards,
Moonsoft Team
www.moonsoft.es
We suggest to check official Google API docs in order to know if it's possible to recover address details or not, here we share the url:
https://developers.google.com/maps/documentation/javascript/3.exp/reference#Autocomplete
In case you only can recover the plain text at your input field, there is a way to split texts based on a separator (for example a comma), using the function explode:
$result=explode(',',$YOUR_INPUT);
so you'll have at $result[0] the first item(address), at $result[1] the second(city), etc. Obviously, this only can work if your addresses are always following the same structure.
Regards,
Moonsoft Team
www.moonsoft.es