I’m using the API to pull responses, and I need to do conditional logic based on what the user chose on a multiple choice question.
I know I can assign a ref to the question, but is there a way to do this per answer? I can get the ID of the choice, but that can change easily.
I get JSON like this:
{"type": "choice",
"field": {
"id": "5IyPfSq7OZNG",
"ref": "my-question-1,
"type": "multiple_choice"
},
"choice": {
"id": "A3uXK14qAEPj",
"label": "<<some label>>"
}
}
I want something like:
{"type": "choice",
"field": {
"id": "5IyPfSq7OZNG",
"ref": "my-question-1,
"type": "multiple_choice"
},
"choice": {
“ref”: “my-choice-a”
"id": "A3uXK14qAEPj",
"label": "<<some label>>"
}
}
Best answer by Lasse
View original