> ## Documentation Index
> Fetch the complete documentation index at: https://docs-saas.primeearn.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Question types

> How to render each qualification question type and what to send back.

Every question in `questions.current` has a `type`. Use it to pick the input control and to build the `answer` array for [Submit an answer](https://docs-saas.primeearn.com/surveys/qualification/submit-answer.md).

| `type` | Show | `answers` in the question | Send in `answer` |
| - | - | - | - |
| `single_choice` | Radio buttons or a dropdown | List of `{id, text}` | `["<answer id>"]` |
| `multiple_choice` | Checkboxes | List of `{id, text}` | `["<answer id>", "<answer id>", ...]` |
| `input_int` | Number field | Empty | `["34"]` |
| `input_text` | Single-line text field | Empty | `["90011"]` |
| `input_bigtext` | Multi-line text field | Empty | `["free text"]` |
| `input_date` | Date picker | Empty | `["1990-03-25"]` (`YYYY-MM-DD`) |

## Autocomplete questions

A choice question with `autocomplete: 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](https://docs-saas.primeearn.com/surveys/qualification/search-answers.md) as the user types, and send the selected answer's `id`.

## Skippable questions

When `is_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"`.

## Example: autocomplete question

```json theme={null}
{
  "status": "accepted",
  "questions": {
    "current": {
      "id": "f9ad620e-305e-407e-9c37-ff2179870a3e",
      "question": "Town/City",
      "type": "single_choice",
      "is_skippable": true,
      "autocomplete": true,
      "answers": []
    },
    "available": 2
  },
  "message": null,
  "advice": false
}
```


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.