Google Address API

How to use Google Address API in ChronoForms 8.

Overview

The Google Address field type was not initially available in ChronoForms 8 after migrating from version 6.
Request the feature from the developer, who can add it in a subsequent update.

Answered
ChronoForms v8
U U Can Drive 12 Jul, 2025

I'm updating my whole website from Joomla 3 to Joomla 5

As such I'm having to remake all my forms from ChronoForms6 to ChronoForms8

I used an Advanced Field "Google Address" to auto search and generate the address using the Google API

Is there a way to do this using CF8?

Max_admin Max_admin 15 Jul, 2025
1 Likes

The Google Address field has not been added to v8, but if you need it I can add it in the next update.

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
U U Can Drive 20 Jul, 2025

That would be amazing, please and thank you.

Max_admin Max_admin 19 Aug, 2025
Answer

I have added it to the new update

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin Max_admin 13d ago

No problem! :)

Did it work as you had it in v6 ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.

It's looking mostly the same except it doesn't have the box for the API Key.I'm getting this error in the entry box "This page can't load Google Maps correctly." which I'm guessing is due to the missing API Key.

Max_admin Max_admin 12d ago

This key should now be set globally in the ChronoForms8 settings page:

Google Address API image 1

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.

That worked, thank you.

It's populating the "Formatted result address field ID" field just fine.

The other's aren't getting filled though eg "Street number field ID", "Street address field ID", et al...

Max_admin Max_admin 9d ago

I think I found the bug, you can either wait for the next update or try this fix:

Open this file:

JOOMLA/administrator/components/com_chronoforms8/pages/chronoforms/views/google_address/output.php

change this line:

document.querySelector("#"+componentForm[addressType]).val(place.address_components[i]["long_name"]);

to:

document.querySelector("#"+componentForm[addressType]).value = place.address_components[i]["long_name"];

Let me know how it works for you if you try it.

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Post a Reply