Randomize in multi choices question?

Hi Every One,

I have a multi choices question AD for three options (Ad1 ,ad2 and Ad3),
and another question Q1 shows these options select in AD question.

Note: shows options must be randomized.

I am not sure I understand. Can you provide the questions and answers written out? Or attached the XLSForm that you have tried so far?

randomize.xlsx (12.8 KB)
AD1 is multi choices question, selected AD1 responses are shown in the next question AD1_ in randomized.

I have recreated the error, it occurs when using both randomize and choice_filter:

(setting getter-only property "message")

Here's the thread about the release of the feature: Randomizing Lists or Questions within Groups - #4 by LN

Maybe the core team will be able to please provide some insight on if the randomize=true parameter can be combined with a choice_filter? @Grzesiek2010? Note that this is not the same Issue with randomize=true which was trying to use randomize with or_there.

It’s certainly intended to work. I think it does work in Collect, right?

Ah, yes it does work in Collect. @ali.raza16922597 if you are only using Collect you can follow the documentation here: https://docs.getodk.org/form-question-types/#randomize-choice-order

1 Like

Looks like the error is related to this issue in Enketo: https://github.com/enketo/enketo-core/issues/532

1 Like