Different formats in the same question

Hi,

Is it possible to have different formats of question in the same question ?

I would like to have this kind of question :

What was the head of household's annual income?

Response : numeric
I don't know
I don't want to answer

Thanks

Hi @Tomasi_simon1
welcome to the forum! Please introduce yourself here!

creating such a question (as a one question) is not possible.
I would recommend adding three questions:
select_one yes/no Do you know answer for the question?

if yes the second question will show up:

select_one yes/no Do you want to answer?

if yes the last question will show up.

1 Like

Specific to your scenario, you could try something like the following.

survey

+-------------------+------------+-------------------------------------------------+-------------------+----------+
|       type        |    name    |                      label                      |     relevant      | required |
+-------------------+------------+-------------------------------------------------+-------------------+----------+
| select_one income | income_ask | What was the head of household's annual income? |                   | yes      |
| integer           | income_amt | What was the head of household's annual income? | ${income_ask}='1' | yes      |
+-------------------+------------+-------------------------------------------------+-------------------+----------+

choices

+-----------+------+----------------------------------+
| list_name | name |              label               |
+-----------+------+----------------------------------+
| income    |    1 | I know, and am willing to answer |
| income    |  888 | I don't know the income          |
| income    |    0 | I don't want to answer           |
+-----------+------+----------------------------------+
1 Like

Thanks, it's the best solution

1 Like