@mathio do you happen to know anything about this?
Hello @roywilliq32
each answer has field object with id prop. You can use this id to identify which question does the answer belong to. Even if you reorder questions in your typeform their ids will not change.
Does anyone know why with Typeform v1 I could get the response answers back and they would be in the same order everytime, but now in v2 they return a different order every time a request is made. I'm at a complete loss as to how I'm supposed to manage entering users answers in the database now and line them up with the questions because there's no consistent order coming from the response.
So far, I haven't been able to receive a response from Typeform about this.
Here are images of 3 responses from a typeform that return a different order of answers each time. (see: choice > label)
https://i.imgur.com/nZ4uU6I.pngsky tv packages
https://i.imgur.com/QN3HTdv.png
https://i.imgur.com/WIlqwks.png
Hi @jordanwilliom I’ve added your post here where we have more information on this.
Hello @jordanwilliom are you @roywilliq32 ? You have the same writing style 🤭
Also, did you know Danny had exactly the same issue back in 2018? What are the odds
@mathio hi there- this question seems to be what I’m after, but just checking…
we get a data file that includes the ‘answers’ field.
this contains all the answers to the typeform in question but as one text string.
each typeform field is denoted by the prefix {“field”,{“id”,BgzIyVtkYxAQ}
when you say the is doesn’t change, you’re referring to the value BgzIyVtkYxAQ in the example above.
if we were to add another question in between two existing ones, can I confirm that the new question would have a unique id and the example above, the id would remain the same.
if i use a duplicated questionnaire...do the ids change?
cheers
Theo
> if we were to add another question in between two existing ones, can I confirm that the new question would have a unique id and the example above, the id would remain the same.
I think this is correct.
> if i use a duplicated questionnaire...do the ids change?
Yes, IDs would change in this case.