Getting error "Cannot read properties of undefined (reading 'length')"

1. What is the issue? Please be detailed.
I have large form due to this i am getting error when i add randomize=true in parameter while testing on enketo. if i remove randomize than form show no error and run smoothly...

2. What steps can we take to reproduce this issue?
randomize=true in parameter


4. Upload any forms or screenshots you can share publicly below.

It sounds like you've hit this bug: https://github.com/enketo/enketo/issues/1322 I don't have a timeline yet for when it will be addressed but I will try to look into it soon.