Forum Academy Marketplace Showcase Pricing Features

How to select an option based on inference?

I have an app where users can submit an event, including its exact address, using the Google Maps API.

Let’s say they enter an event at 440 Terry Ave N, Seattle, WA 98109.

Let’s also say I have an option set based on city. For example, US-WA-Seattle is an option set for Seattle.

Is there a way that I can have my app automatically infer that the option set should be US-WA-Seattle based on the address? I don’t want my users to have to manually find and select the proper geography option every time. Don’t even know how to begin to query this one for help so appreciate any help.

Thanks!

You can pull the ‘parts’ of a geographic address (city/state etc) so as long as you have those in your Option Set then you can find it?

1 Like

Thanks for the reply!

Is there a name for this functionality (pulling parts of a data field to match with a different data set). Trying to find a tutorial on this. Thanks!