Answered

Dropdown population using 3rd party api

  • 24 November 2023
  • 2 replies
  • 39 views

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

icon

Best answer by Harsh 24 November 2023, 13:18

View original

2 replies

Userlevel 5
Badge +3

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.

Userlevel 7
Badge +5

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