Choices from Previous Text Questions

Hello @hm11,
With your coding/naming system, you might try:

  1. Create a calculate variable, calculating the number of non-empty text questions.
  2. And then use this as a choice_filter (column) against name: name <= ${NoOfTextanswers}.

Precondition is: The initial other text questions are sequentiell. So, e.g. other3 will not happen without other1 and other2.

With the (famous) search option of this forum you find more examples and previous discussion for your topic, e.g.

Also, pay attention, there is a problem with the
choice label reference in Enketo when combined with a choice_filter (see forum posts). But, as far as I know, it is OK in Collect.

1 Like