Hi Kal_lam
Is it possible to make a random part of the answer choices.
Example:
Answer choices:
- Apple
- Orange
- Bananas
- Others … (specify)
the answer choices are random, except number 4 …
How to write it in XLSForm?
Hi Kal_lam
Is it possible to make a random part of the answer choices.
Example:
Answer choices:
the answer choices are random, except number 4 …
How to write it in XLSForm?
Hi @akoh,
Welcome back to the community! Would you mind having a look at the discussion that has happened earlier (which states its impossible). For details pleas have a look at the thread here.
Have a great day!
How do you turn off the Seed feature?
You could simply uncheck the randomize
as shown in the image above. Save the changes and then redeploy!
I did that, and I still received this message
Unexpected KoBoCAT error 400: b’{“detail”:“seed value must be a number or a reference to another field.”}’
I am also not able to preview
OK if this is the case, please follow the steps outlined as below:
Will try thanks
Dear @Kal_Lam
I made a choice of answers and randomized them. I tried through the link https://ee.kobotoolbox.org… but it didn’t work. But when I try it in the KoboCollect application it works. Is it true that fearture randomize doesn’t work on https://ee.kobotoolbox.org… ?
@akoh, it should support both in Enketo
and Collect android app
. Would you mind trying the workaround shared in this post (topic)?
Dear @Kal_Lam , is there something wrong with my xlsform wow.xlsx (12.2 KB) ? I tried with ODK - XLSForm Online v2.x and the application runs fine but does not support Enketo.
I made a choice of answers and randomized it. I tried through the link https://ee.kobotoolbox.org… but it didn’t work. But when I try it in the KoboCollect application it works.
Is it true that fearture randomize doesn’t work on https://ee.kobotoolbox.org… ?
This is my xlsform
wow.xlsx (12.1 KB)
@akoh, we will check this out if it’s a pyxform version that is affecting this with Enketo
in our system. Thank you for bringing this to our attention.
ok, hopefully it will fixed soon, thank you
Hi @akoh, thank you for reporting this. I have confirmed the issue and will write a bug report
hi @Josh thank you so much for your help here, but unfortunately my dad has passed away today, and this is his son that talking… hope you have a wonderful day!
Hi @Josh, @Kal_Lam,
any news on this, please? Or a roadmap?
As far, as we can see: Randomize for choices is working in Online validator, but NOT in KoBoToolbox (Enketo). Sorry, those differences between Online validator and Enketo in KoBoToolbox are a surprise for us, esp. when deviating from the official documentation (e.g. https://xlsform.org/en/#randomize-choices).
Does this also mean, that the randomize() function at the moment cannot be used / doesn’t work in KoBo Enketo? ODK XForms Specification
In any case, kind regards to the development team!
Hi @wroos,
This is due to the fix being in a later version of Enketo than is currently running on Kobo (2.8.1
). Please note that you can see the version details at the root of the Enketo URL: https://ee.kobotoolbox.org.
ODK’s online validator is using the latest build of Enketo:
Enketo is running! Please access Enketo forms from your ODK installation.
version: 3.1.0-1-g1dd2539
We will hopefully upgrade the Enketo instance soon. I will update the testing instance with the latest Enketo release and invite the community to test before we release it on the public servers