I’m trying to set up Google Maps API for auto-complete addresses.
I can see that you need to set the text field to ‘Address’ type in a form - but I’m trying to do it via an Add Record action button form and that field type doesn’t come up so it doesn’t seem to work.
Any suggestions, please?
Thanks.
Hi @farky85
For Add record action button, the Address display type is not there. You need to add the address manually as a regular text, and then use that as a field on the form that is displayed as Address. Or you can try to build that block with the Add record button via vibe coding block, and prompt it to auto-complete the addresses once you fill them up, it may work.
A regular text input can save an address string, but it will not provide Places autocomplete unless the form input itself supports an Address/autocomplete control. Which data source are you writing to, and does autocomplete work in a standard Form block bound to the same field? Comparing that with the Add Record action would help tell whether the limitation is the action form’s input control or the API setup.
A useful next check is to separate the input-control issue from the Google configuration. If a standard form with the same data field also fails, check whether the appropriate Places API is enabled, billing is active, and the browser key’s website restrictions match the actual published domain. Test in the browser console for a specific API error without sharing the key. If the standard form works but the action form does not, use the standard form as the temporary collection path and report the difference to Softr support.
Drafted with AI help, reviewed by me.
The key distinction is that Places autocomplete is a form input control, not just a data-field display. If the Add Record action form only gives you a plain text input, saving an address string there won’t trigger suggestions even when the field is later shown as Address. I’d run the standard Form block test with the same field mapping first; if autocomplete appears there, the action form’s input control is the limitation and the standard form is the practical workaround.