Hey Guys,
When using Metabox for example, I add a field (like in Toolset) "Address" which then pulls info from google to load the address, I can then add seperate fields and name the field "city" which then get's populated by the address field and only shows the city of the address selected..
Is there some way to also get this info using toolset?
That's a very great feature, I must say, and it's not available like that in Toolset.
You would have to suggest this as a feature here: https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/
Or, you can add Custom Fields with Toolset Types and populate them manually with the proper data.
How can we populate it from the data google returns though?
You cannot, as explained, Toolset does not feature such an option.
You would have to use complex Custom Code, which (for example on save_post() action), gets the saved address provided by Google, and somehow extracts City or other data of the address.
We usually cannot help crafting such custom code, as it is above the scope of Toolset Support.
However, my colleague Nigel in past has helped someone achieving a very similar goal:
https://toolset.com/forums/topic/separating-content-from-the-address-field/
Maybe this helps to get you started?
Note, this does not replace an inbuilt feature which you would have to request from the Product Management as previously elaborated.