View Issue Details

This issue affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
20387Feature requestsSurvey editingpublic2026-01-16 12:23
ReporterTonisOrmisson Assigned Totibor.pacalat  
PrioritynoneSeverityfeature 
Status in testingResolutionopen 
Product Version6.x 
Summary20387: Implement "Keep codes at original positions" attribute for any override on answer/subquestion randomization
Description

When using answer/subquestion randomization in LimeSurvey, authors cannot keep specific codes fixed in their
original positions. As soon as randomization is enabled, all items are treated the same and fully shuffled.

This creates several limitations:

  • It is not possible to keep “special” options (e.g. “Don’t know”, “Other”, “None of the above”) consistently at the bottom while randomizing the rest.

  • It is not possible to keep a particular option always first (or at a fixed index) while shuffling all other options.

  • It is not possible to keep certain subquestions fixed within arrays or multiple‑choice questions while randomizing the remaining subquestions.

    These constraints apply across all question types that support randomization:

  • Single-choice: List (radio), List dropdown, List with comment, Ranking.

  • Multiple-choice and similar: Multi choice, Multi choice with comments.

  • Array families and multi‑text/number questions that support random_order.

    Authors currently have to choose between:

  • No randomization (fixed, biased order), or

  • Full randomization (losing control over the position of key items).

  • custom scripts managing exceptions

    There is no built-in way to declare “these specific codes must keep their original order/position; randomize
    everything else around them.”

TagsNo tags attached.
Bug heat4
Story point estimate0
Users affected %0

Relationships

related to 20404 assignedDenisChenu Bug reports Exclusive option by randomized order is always on the same position 

Users monitoring this issue

There are no users monitoring this issue.

Activities

tibor.pacalat

tibor.pacalat

2026-01-15 17:18

administrator   ~84095

@TonisOrmisson I have found some issues while testing your PR.

These question types are not working as intended (the selected codes are not staying on the same place):
Array question types A,B,C,E,H,:,;

tibor.pacalat

tibor.pacalat

2026-01-15 17:19

administrator   ~84096

This is the survey with which I tested.

TonisOrmisson

TonisOrmisson

2026-01-16 12:23

developer   ~84101

Great help, thanks for that @tibor.pacalat! I went through all of those based on your file anf fixed all of them to use the new OrderingService approach. All of those in your test file now seem to work as expected. I really appreciate the testing :)

Issue History

Date Modified Username Field Change
2025-12-10 18:08 TonisOrmisson New Issue
2025-12-10 18:08 TonisOrmisson Status new => assigned
2025-12-10 18:08 TonisOrmisson Assigned To => TonisOrmisson
2025-12-10 18:39 TonisOrmisson Product Version => 6.x
2025-12-10 18:39 TonisOrmisson Description Updated
2026-01-14 18:09 tibor.pacalat Assigned To TonisOrmisson => tibor.pacalat
2026-01-14 18:09 tibor.pacalat Status assigned => in testing
2026-01-15 17:18 tibor.pacalat Note Added: 84095
2026-01-15 17:18 tibor.pacalat Bug heat 0 => 2
2026-01-15 17:19 tibor.pacalat Note Added: 84096
2026-01-15 17:19 tibor.pacalat File Added: limesurvey_survey_568991.lss
2026-01-15 17:50 tibor.pacalat Relationship added related to 20404
2026-01-16 12:23 TonisOrmisson Note Added: 84101
2026-01-16 12:23 TonisOrmisson Bug heat 2 => 4