Seperate address fields with auto complete

Hi There

I am creating an app that includes multiple Softr DB columns like address1, address2, city, state, zip.

I want to set up an address field on onboarding with auto complete where user will start typing in address 1 field, pick the auto complete suggestion and the other fields like city, zip, state will be auto populated based on auto complete result pick.

Is it possible with current blocks? Or is it in the backlog for the future?

1 Like

Hey, thanks for posting on our forum :blush:

You can do this by setting up our integration with Google Maps.

Address Field - this is a regular text field, where users can enter their address, but it also has address autocomplete. However, to enable autocomplete, you first need to integrate Google Maps in Settings => Integrations => Google MAP. Follow the instructions here, to get the map API key

Related docs: Advanced Form Features – Softr Help Docs

1 Like

Thanks for the response.

My problem is not about setting up the autocomplete.

I want to get the address coming from autocomplete field mapped to different fields in softrdb.

Currently we can map address map to single text field in softr db

but instead I want to store the address components in seperate columns in db as: Address1, address2, city, state,zip_code. Is it possible to do this with autocomplete in user experience?

I’ve been trialling autocomplete for addresses entered via forms and this is not possible without further work. You could try using an AI field to parse the returned data in the Address field (from the autocomplete) and separate out the components; or use formula fields to do this; or a Softr workflow.

1 Like