Dropdown population using 3rd party api | Community
Skip to main content
Answered

Dropdown population using 3rd party api


I need to populate one of my dropdown with store names across the country can i do this with the help of an api? i know i can build the complete form using an api but can we make a call mid question into the dropdown

Best answer by Harsh

Hi @Auxilo Copy ai 


I do not think it is possible to update the form mid question via the API.

However did you try looking into using Logic Jumps to show the appropriate stores to the users?


Alternatively, update your form via the API with the values from your datastore(which houses the list of all the stores) daily and then use logic jumps to direct the users accordingly.

I know this is not the exact solution you were looking for, but it hopefully points you in the right direction.

View original

2 replies

Forum|alt.badge.img+4
  • Socializer
  • 113 replies
  • Answer
  • November 24, 2023

Hi @Auxilo Copy ai 


I do not think it is possible to update the form mid question via the API.

However did you try looking into using Logic Jumps to show the appropriate stores to the users?


Alternatively, update your form via the API with the values from your datastore(which houses the list of all the stores) daily and then use logic jumps to direct the users accordingly.

I know this is not the exact solution you were looking for, but it hopefully points you in the right direction.


picsoung
Typeform
Forum|alt.badge.img+5
  • Developer Advocate @ Typeform
  • 390 replies
  • November 24, 2023

Hi @Auxilo Copy ai 

As ​​​@Harsh mentioned you can update a form in real time while people are answering it.
But you could modify the API before or after, like adding or removing options in a dropdown/multiple choice.

A dropdown can handle a lot of values too, so you can make the liste like [State] - [City] - Store name

dropdown could be:
CA - San Francisco - Powell Street
CA - San Francisco - North Beach
CA - San Jose - Downtown

MN - Minneapolis - Mall of America


and when someone starts typing San, the dropdown will automatically find the matching choices.


Reply