Currently if you export a questionnaire with a ‘Rank’ question to xlsform and then re-import the questionnaire, it will split the question into multiple ‘Select One’ questions with some validation to attempt to stop list items being selected more than once.
However, the validation is not complete and only works if the user never goes backwards to re-rank.
In an example of a rank 3 items, the validation looks something like this:
Rank1 - No validation
Rank2 - rank2!=rank1
Rank3 - rank3!=rank2 AND rank3!=rank1
What happens when the user changes their mind mid-way through the ranking?
The validation no longer works!
- Work out a way to make Rank Question -> export -> xlsform -> import -> correctly interpret to a Rank Question
- Put proper validation on all Ranks so that every question is compared to every other ranked question.
This does get long with a lot of ranks, but how else can it be properly validated?
I suspect this may be an issue with the export not adding the proper validations when exporting Rank Questions to xlsform.