Typeahead field on form, populated from lookup of external data source; selected value executes query
Is it possible to create a Typeahead dropdown list that queries an external data source? When the user chooses a value from among typeahead options presented, we'd like the selected value to execute a query that looksup related values and returns them
For example ...
You have a Typeahead field on a form called "State". User types in string "CA" and the field looks up the external datasource column for State to populate typeahead suggestiongs
User Gets typeahead suggestions of "California", "N. Carolina", "S. Carolina"... & selects "California".
This executes a query to a "geo" database using California as search parameter to return the related values for Country and Continent.
The following 3 fields are populated on the form:
State: California
Country: USA
Continent: N. America
Has anyone accomplished this type behavior on a form? We do have Fusion FLOs that execute upon Request or Project update *after* the form is submitted and retun to populate other fields on the form, but nothing like a dynamic form that populates values prior to submitting/saving it.
Our target data source has a restful API, and may alternately allow for a live db connection (JDBC/ODBC etc) to be established.
Please help us brainstorm possible solutions to this type of use case. We'd love to hear from admins who've implemented a similar process.
Thank you,
Mylah