questions.current has a type. Use it to pick the input control and to build the answer array for Submit an answer.
Autocomplete questions
A choice question withautocomplete: true has an empty answers list because it has too many options (for example towns or market areas). Show a search field, call Search answers as the user types, and send the selected answer’s id.
Skippable questions
Whenis_skippable is true, you can offer a “Skip” button. Send skip_question: true with no answer. Skipping a question that is not skippable returns status: "error".