Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Search Results (Searched for: random)

17 Jan 2026 14:27
A small addition.
This usually used table is not very suitable for respondents on small devices.
To cover these people you may consider to use the display option with the library "tinyslider"
[url] github.com/ganlanyuan/tiny-slider [/url]
[url] ganlanyuan.github.io/tiny-slider/demo/ [/url]

On wide screens you see the "normal" view
 
while on smaller screens you see less, but with a small (so called) edgepadding to indicate that there is more to see. The respondent just swipes through the options
 


You find a full example in the sample file of the tutorial (Group G11d)

Joffm
16 Jan 2026 17:15 - 16 Jan 2026 17:24
Hi,
since yesterday I found a new approach that avoids a lot of nested IFs.

In the following ALL subquestion codes are numerical (1,2,...)

A. Group GCalc (here we initialise the whole stuff)
1. As already said, in a (hidden) question of type "long text" (Pool) insert all 144 possible combinations in this form.
Order: field (4), grade (3), activity (4), semester (3)
001:1111
002:1112
...
088:3221
089:3222
...
143:4342
144:4343

2. In a question of type "multiple short text" (QSelect) with two subquestions enter this script to 
  • randomize the 20 names
  • randomly select 20 profiles
Code:
<script type="text/javascript" charset="utf-8"> function shuffle(array) {   var currentIndex = array.length, temporaryValue, randomIndex;   // While there remain elements to shuffle...   while (0 !== currentIndex) {     // Pick a remaining element...     randomIndex = Math.floor(Math.random() * currentIndex);     currentIndex -= 1;     // And swap it with the current element.     temporaryValue = array[currentIndex];     array[currentIndex] = array[randomIndex];     array[randomIndex] = temporaryValue;   }   return array; } $(document).on('ready pjax:scriptcomplete',function(){   // Fill the array with 20 characters   var arr = ["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","T"];   arr = shuffle(arr).join('');   $('#question{QID} input[type="text"]:eq(0)').val(arr);   // Fill the array, numbers from 1 to 144   var arr1 = ;   for (var i = 1; i < 145; i++) {     var x = i.toString().padStart(4,"0").slice(-3);     arr1.push(x);   }   arr1 = shuffle(arr1).slice(0, 20).join('');   $('#question{QID} input[type="text"]:eq(1)').val(arr1);   //$('#question{QID}').hide(); }); </script>

Hide this question with css-class "d-none"

3.
  • Create a (hidden) question of type "multiple short text" (PComb) with two subquestions to temporarly store the selected profiles
  • Create (hidden) questions of type "list(radio)" to store and retrieve the texts.
    PName1 and PName2 with answer options "A: Leon Schmidt", "B: Lukas Müller",...; "T: Ali Yıldız" (You see the coding refers to the characters in the script)
    PField1 and PField2 with the four answer options of Field of study, coded 1,2,3,4
    PGrade1 and PGrade2 with the three answer options of Grade, coded 1,2,3
    PActive1 and PActive2 with the four answer options of activities, coded 1,2,3,4
    PSem1 and PSem2 with the three answer options of Semester, coded 1,2,3
4. Because QSelect is hidden by css there would be displayed the skeleton of a question.
Therefore you may show a question of type "text display" with a message like "The profiles are initialised"
With this script you hide the buttons and proceed after some seconds
Code:
<script type="text/javascript" charset="utf-8">       $(document).ready(function(){             // Verstecke den „Weiter“-Button             $('#ls-button-submit').hide();              $('#ls-button-previous').hide();             setTimeout(function () {             $('#ls-button-submit').trigger('click');           }, 3000);  //  3 Seconds, Value in milliseconds }); </script>


That's all to initialise nearly everything.
Now you create the ten groups with two questions in each group
5. Create a (hidden) question of type "equation" where you set the hidden list(radio) questions with ExpressionScript.
(The advantage is: We only use numbers, but show the text with the property ".shown")

a. eqSet1
We capture the first and the second character of QSelect_1 (names)
and search the combination that matches the first and second number in QSelect_2 (remember: these numbers are three digits long)
Code:
{PName1=substr(QSelect_1,0,1)} {PComb_1=substr(Pool,strpos(Pool,join(substr(QSelect_2,0,3),':'))+4,4)} {PName2=substr(QSelect_1,1,1)} {PComb_2=substr(Pool,strpos(Pool,join(substr(QSelect_2,3,3),':'))+4,4)} {PField1=substr(PComb_1,0,1)} {PField2=substr(PComb_2,0,1)} {PGrade1=substr(PComb_1,1,1)} {PGrade2=substr(PComb_2,1,1)} {PActive1=substr(PComb_1,2,1)} {PActive2=substr(PComb_2,2,1)} {PSem1=substr(PComb_1,3,1)} {PSem2=substr(PComb_2,3,1)}

b. eqSet2
and in the second we only have to change the indices in "PName1, PName2" and "PComb_1, PComb_2"
Code:
{PName1=substr(QSelect_1,2,1)} {PComb_1=substr(Pool,strpos(Pool,join(substr(QSelect_2,6,3),':'))+4,4)} {PName2=substr(QSelect_1,3,1)} {PComb_2=substr(Pool,strpos(Pool,join(substr(QSelect_2,9,3),':'))+4,4)} {PField1=substr(PComb_1,0,1)} {PField2=substr(PComb_2,0,1)} {PGrade1=substr(PComb_1,1,1)} {PGrade2=substr(PComb_2,1,1)} {PActive1=substr(PComb_1,2,1)} {PActive2=substr(PComb_2,2,1)} {PSem1=substr(PComb_1,3,1)} {PSem2=substr(PComb_2,3,1)}

6. The second question in each group is your question.
This  is a question of type "array" with one subquestion and two answer options.
Design your desired HTML table with a last row to show the radio buttons.
Like (very rough, without any styling)
Code:
<table border="1" cellpadding="0" cellspacing="0" style="border-collapse:collapse;" width="100%">     <tbody>         <tr>             <td>Which profile do you prefer?</td>             <td><strong>Profile 1</strong></td>             <td><strong>Profile 2</strong></td>         </tr>         <tr>             <td>Name</td>             <td><strong>{PName1.shown}</strong></td>             <td><strong>{PName2.shown}</strong></td>         </tr> ...         <tr>             <td>Semester</td>             <td><strong>{PSem1.shown}</strong></td>             <td><strong>{PSem2.shown}</strong></td>         </tr>         <tr>             <td><b>Your choice</b></td>             <td> </td>             <td> </td>         </tr>     </tbody> </table>


You show the texts of the profiles in the cells with {PName1.shown}, {PField2.shown},...
To move the radios into the table use this script
Code:
<script type="text/javascript" charset="utf-8">   $(document).on('ready pjax:scriptcomplete',function(){     // Identify this question     var thisQuestion = $('#question{QID}');     // Move the radios, you see they are inserted in the second and third column (td:eq(x)) of the last row (tr:last)     // And the first and second answer option are affected (answer-item:eq(x))     // Remember it is zero based.      $('.question-text table:eq(0) tr:last td:eq(1)', thisQuestion).append($('.subquestion-list .answers-list:eq(0) .answer-item:eq(0) *', thisQuestion));     $('.question-text table:eq(0) tr:last td:eq(2)', thisQuestion).append($('.subquestion-list .answers-list:eq(0) .answer-item:eq(1) *', thisQuestion));     // Some classes for presentation     $('.question-text table:eq(0) input:radio', thisQuestion).closest('td').addClass('answer-item radio-item text-center radio');     $('.question-text table:eq(0) .radio-item label', thisQuestion).show();     // Click event on the table cells     $('.question-text table:eq(0) .radio-item', thisQuestion).on('click', function(e) {       $('input:radio', this).trigger('click');     });     $('.question-text table:eq(0) input:radio', thisQuestion).on('click', function(e) {       e.stopPropagation();     });     // Clean-up styles     $('.answer-container', thisQuestion).hide();     $('.question-text table:eq(0) .label-text', thisQuestion).remove();     $('.question-text table:eq(0) .radio-text', thisQuestion).css({       'cursor': 'pointer'     });     }); </script>

The big advantage is:
In the equations you only have to changes the indices
You can copy this question into all other groups without any changes.

This way you will get the following in the response table

You see the first profile (red): the character of the name and the codes of the four attributes
You see the second profile (blue): the character of the name and the codes of the four attributes
And in the next question the answer code.

Here the survey structure
 

Now it's your turn.
Try to create this.
If there are questions send the lss export (and not only two empty questions)
You see: In your first post you mentioned many attempts that failed. Why didn't you show them? Maybe there were real good ideas where only a minor tweak made them run.

And we always ask for lss exports (neither lsq nor lsg).
These other exports are language sensitive. You can only import them into a survey with the same base language.
So ease our work, that we don't have to guess a language, create a survey, create a group to be able to import a lsq export.
Furthermore these exports don't contain the survey wide settings that may be of importance, too.

Joffm

BTW:
If you prefer to use your csv file you may have a look at [url] www.papaparse.com/ [/url]
 
15 Jan 2026 19:05
Hi,
in the meantime I thought about the selection.
You only need (or better, what I used):
1. A pool - a question of type long text.
In the default answers all 144 possible combinations of your attributes with a autoincrement number, like
001:1111
002:1112
003:1113
004:1121
...
142:4341
143:4342
144:4343

2. A question of type multiple short text. Here we do the randomisation by javascript
a. Names: create an array of numbers '01','02',...'19','20' representing the 29 names. You could use characters 'A', 'B', 'C',... as well.
Shuffle this array
b. Profiles: create an array of numbers '001','002',...'143','144' representing the profiles.
Shuffle this array and use the first 20 elements.
You will get something like this


3. I like to use an array(text) (6 rows, 2 columns) as container for intermediate results. This way you save questions.

4. Equations to grab the values from the "pool", (functions "strpos", "substr")
to "translate" the numbers to the text

Finally you get this array
 
which you use to pipe the text into the tables of the 10 questions

Now it is only necessary to copy the equations and adapt the "substr" indices.

I will send an example of this my idea tomorrow.

Joffm

P.S.
Neither send lsq nor lsg exports; only lss.


 
15 Jan 2026 16:53
Hello again Jofm, 

Thanks for the guidance! I'm preparing to implement your solution.

Please see attached:
1. Sample profiles (first 5 rows + header) - shows format and ~150 characters per profile
2. LSG export of my ConjointTasks group (currently just a hidden field placeholder)

How would you suggest I proceed?

Thanks again!

P.S. I'm just an international student studying in Germany, I don't speak German. You cited your Tutorials so many times here that I decided to auto-translate them   Falls es Ihnen auf Deutsch leichter fällt, kann ich den Forumtext auch automatisch übersetzen, so wie ich es hier getan habe. Kein Problem.
15 Jan 2026 13:07 - 15 Jan 2026 13:47
Hi,
Some remarks.

Obviously you didn't use the "green apple - banana" example that is show here many times.
I admit your shown image uses this approach.

Now some answers.

Each respondent should see 10 different random profile pairs (profiles A and B drawn randomly from the pool of 2,880, applying the name restriction)

So thew profiles are there already and are not generated during the survey.
That's not to difficult with some ExpressionScript.

Should profiles be stored in a hidden field or database?

Depends, hidden field is easier, but you should show more details about it.
Database? Hm, I see, you use a Cloud version. Don't know if an ajax call is possible. But you could parse a csv file (Buzzword "Papaparse").

Conclusion:
You don't need more than
  • the layout with embedded radio buttons
  • the selection of 10x2 profiles out of 2880
Now it's your turn.

Send an example of some of the profiles (to get a feeling about the number of characters per profile) 
and the lss export of your survey (only this part)

Some examples (you are absolutely free how to create the table)
1. A question design without any javascript only built in features
 
2. Some kind of the mentioned "green apple - banana" example (to show that the buttons can be inserted anywhere)
 
The main part is to create the HTML table.
Then some lines of javascript to move the buttons and 
Code:
<script type="text/javascript" charset="utf-8">   $(document).on('ready pjax:scriptcomplete',function(){     // Identify this question     var thisQuestion = $('#question{QID}');     // Move the radios     $('.question-text table:eq(0) tr:eq(3) td:eq(1)', thisQuestion).prepend($('.subquestion-list .answers-list:eq(0) .answer-item:eq(0) *', thisQuestion));     $('.question-text table:eq(0) tr:eq(3) td:eq(2)', thisQuestion).prepend($('.subquestion-list .answers-list:eq(0) .answer-item:eq(1) *', thisQuestion)); // and so on     // Some classes for presentation     $('.question-text table:eq(0) input:radio', thisQuestion).closest('td').addClass('answer-item radio-item text-center radio');     $('.question-text table:eq(0) .radio-item label', thisQuestion).show();     // Click event on the table cells     $('.question-text table:eq(0) .radio-item', thisQuestion).on('click', function(e) {       $('input:radio', this).trigger('click');     });     $('.question-text table:eq(0) input:radio', thisQuestion).on('click', function(e) {       e.stopPropagation();     }); // Followed by some cleaning


Joffm

P.S. Da Du ja offensichtlich mein deutsches Tutorial gelesen hast, hättest Du besser auch im deutschen Teil Fragen dazu gestellt.
Und hättest auch die dort befindliche Beispieldatei herunterladen und installieren können. Das hätte viele Fragen beantwortet.
Warum muss ich immer ohne Not Englisch schreiben?

 
15 Jan 2026 11:51 - 15 Jan 2026 12:55
Please help us help you and fill where relevant:
LimeSurvey version: 6.16.4
Own server or LimeSurvey Cloud: LimeSurvey Cloud
Survey theme/template: fruity_twentythree

==================
Hello Dear Community, 

Goal & Context
I'm trying to build a conjoint analysis / discrete choice survey for a social science experiment, where I'd like to measure preferences for student scholarship recipients.The survey needs to:
  • Present 10 sequential choice tasks
  • Each task shows 2 student profiles side-by-side in a table
  • Respondents select which profile they prefer
  • Each respondent sees different random profiles (full per-respondent randomization)
    • BUT Name Restriction: EITHER no profile with the same name appears more than once per respondent OR the profile with the same name appears with the same attribute levels if they appear more than once per respondent (whichever is more feasible)
  • Radio buttons embedded in the table cells for selection
 This is a modern conjoint design based on the seminal "Causal Inference in Conjoint Analysis: Understanding Multidimensional Choices via Stated Preference Experiments" article by Hainmueller et al. (2014) where I need independent randomization of attribute levels across respondents, not just fixed profile sets repeated for all respondents.
 ---
Profile Attributes & Levels: 5 attributes in total
Attribute: Levels // (Notes) 
1. Name: Leon Schmidt, Lukas Müller, Jan Fischer, Paul Wagner, Jannik Weber, Tom Becker, Jonas Meyer, Emil Lehmann, Niklas Scholz, Luca Hartmann, Arda Yılmaz, Emre Kaya, Can Demir, Baran Şimşek, Deniz Güneş, Mehmet Öztürk, Kaan Kılıç, Efe Kaplan, Ömer Çalışkan, Ali Yıldız // (10 German-sounding and 10 Turkish-sounding names, 20 names in total)  
2. Field of Study: Mechanical Engineering, Law, Psychology, Business Administration // (4 fields) 
3. Grade (GPA): 1.3 (Very Good), 2.0 (Good), 2.7 (Satisfactory) // (3 grades according to the German grading scale)
4. Extracurricular Activity: Student Parliament, Sports Club, Music Tutor, Food Bank Volunteer // (4 activities) 
5. Semester: 3rd semester (Bachelor), 5th semester (Bachelor), 3rd semester (Master) // (3 semesters) 

Design: Profiles are factorially designed combinations of all attributes (~2,880 unique profiles generated from these attribute levels). BUT the NAME RESTRICTION should be applied.

 --- Desired Table Display -> Should look something like the CAR example (see attached below) in Tutorial_Gimmicks Chapter 11  (second image in the chapter) but I couldn't somehow replicate it. ---

Key Challenges I've Encountered 
1. Per-Respondent Randomization
- Problem: I initially created 10 fixed HTML files with hardcoded profile pairs (run once, same for all respondents)
- Why It Failed for Conjoint: This violates the core principle of conjoint analysis—attribute levels need to vary independently across respondents so I can isolate individual attribute effects
- What I Need: Each respondent should see 10 different random profile pairs (profiles A and B drawn randomly from the pool of 2,880, applying the name restriction) 

2. Radio Button Placement in Table Cells
- Problem: Attempted to use "Tutorial_Gimmicks Chapter 11" method (JavaScript DOM manipulation) to move radio buttons into table cells
- Why It Failed: LimeSurvey 6.x appears to have security restrictions or structural issues that prevent reliable DOM access to radio button elements
- What I Need: Radio buttons should be clickable and positioned directly in the bottom row of the profile table (appear as if they're part of the table layout) 

3. JavaScript Execution in LimeSurvey 6.x
- Problem: JavaScript in question text (Source Mode) sometimes fails silently—no console errors, but functionality doesn't execute
- What I Need: Either a working JavaScript solution OR an alternative approach (e.g., custom question type, plugin, or alternative rendering method) 

--- 

Attempts Made (For Context)
I've tried:
1. ✗ JavaScript in question HTML with `document.addEventListener()` and `setTimeout()` to move LimeSurvey's auto-generated radio buttons
2. ✗ Static hardcoded profile pairs (worked visually, but not true conjoint randomization)
3. ✗ Embedding `<input type="radio">` elements directly in HTML and using JavaScript to trigger LimeSurvey's answer recording 

---


***QUESTIONS*** 

1. Randomization: What's the best approach to achieve per-respondent random profile selection in LimeSurvey 6.x?   
- Should profiles be stored in a hidden field or database?   
- Can LimeSurvey expressions or tokens generate random indices?   
- Is there a plugin or extension for this? 

2. Radio Button Placement: How can I reliably embed/position radio buttons inside table cells while maintaining LimeSurvey's answer recording?   
- Does the Chapter 11 method work in LimeSurvey 6.x, or has it changed?   
- Are there CSS-only solutions to reposition the radio buttons?   
- Should I use a custom question type? 

3. Alternative Approaches: If JavaScript/DOM manipulation isn't reliable, are there other ways to build a conjoint interface in LimeSurvey?   
- Custom question type development?   
- Integration with external JavaScript libraries?   
- Database-driven dynamic content? 

--- 

Any guidance on how to properly implement a modern conjoint analysis with full randomization and proper table layout in LimeSurvey 6.x would be greatly appreciated. Happy to provide more details, sample files, or clarifications.Thanks in advance!
12 Jan 2026 18:45
>  Using dev tools, I can see that custom.css is being loaded from tmp/assets

Buit you show the screenshot after where file custom.css didn't include assets/randomnumber/

I don't understand here ?
 
09 Jan 2026 17:50 - 09 Jan 2026 21:07
Hallo, Manuel,
gut, ich habe einmal schnell 150 Daten erzeugt (das geht ja schnell, indem man nur diese paar Gleichungen nimmt, und die Umfrage dann sich selbst aufrufen lässt)
Und ich konnte Dein Problem nachvollziehen.
 
Deine Erzeugung der Zufallszahlen ist ja recht ähnlich wie meine Darstellung in meinem "Tutorial 3: Gleichungen. Zufall,...,", Kap. 3.2.2

Ich habe dann dies einmal strikt nach meiner Vorlage durchgeführt und das Problem war weg.
 

Da ich aber natürlich zunächst Deinen Code benutzt hatte (und merkwürdige Dinge passierten), kam mir dann aber die Erleuchtung.
In den Fragen "base2" und "base3" ist dies passiert:
 
Es ist eine Leerstelle vor dem Text.
D.h.
Nach dem Entfernen des vorherigen "Namens" (sei es "3") erhältst Du nicht "12456", sondern " 12456"; und nach dem zweiten Namen ("5") ergibt sich "  1246". Dadurch kommt es dann zu einer erhöhten Auswahl der kleinen Werte.

Hier kannst Du den Versatz erkennen; aber sicher nur dann, wenn Du weißt, was Sache ist.
 
So etwas ist schwierig zu erkennen; daher ist es eine gute Idee beim Testen solche Texte in einer Textanzeige-Frage anzuzeigen, mit umfassenden Zeichen, z.B {join('#',base2,'#')}
Anders hätte ich es auch nicht gesehen. Erst dann habe ich ja direkt in der Frage nachgeschaut.

Okay, jetzt weßt Du, woran es lag.

Joffm

PS.
Zwei Dinge noch:
1. Benutze doch eine Quote, um die "Nicht-Teilnehmen-Woller" direkt herauszuschmeißen; es ist doch unnötig, sie durch die ganze Umfrage durchzuschleifen mit der Gruppenbedingung "will teilnehmen".
Außerdem sind sie dann in der Antwort-Tabelle als "complete" gekennzeichnet.

2. Ich sehe, Du hast die Device-Erkennung aus meinem "Tutorial 4" eingebaut. Wird dies auch irgendwo benutzt? Oder ist es nur die zusätzliche Info "Wie viele nehmen mittels eines Smartphones teil", um in späteren Umfragen das Design verstärkt daraufhin zu optimieren?

Bei weiteren Fragen können wir uns ja mal beim Apfelwein oder sonstwo treffen.
 
09 Jan 2026 11:23
Bitte helfen Sie uns, Ihnen zu helfen und füllen Sie folgende Felder aus:Ihre LimeSurvey-Version: 6.16.3Eigener Server oder LimeSurvey-Cloud: LimeSurvey-CloudGenutzte Designvorlage: Fruity TwentyThree==================Liebe LimeSurvey Community, Im Zuge einer Datenerhebung mit LimeSurvey ist mir eine Ungereimtheit in der Verteilung der Daten aufgefallen, deren Ursache ich nicht erkennen kann. Daher wäre es sehr lieb, wenn mir jemand bei der Fehlersuche behilflich sein könnte.  Zunächst einmal eine Problembeschreibung:Wir haben Befragten drei Vignettentexte hintereinander gegeben, in denen das Geschlecht von fiktiven Personen variiert wurde. Dazu gab es einen Pool aus sechs Namen (drei männliche Namen, drei weibliche Namen). Per Zufallsauswahl ohne Zurücklegen wurde dann in jeder der drei Runden ein Name gezogen. Ein Name, der zuvor schon mal gezogen wurde, konnte nicht nochmal gezogen werden. In der ersten Runde gibt es in den Daten eine 50/50-Verteilung zwischen Männern und Frauen. In der zweiten und dritten Runde hat die Randomisierung in LimeSurvey aber offensichtlich nicht funktioniert und es gibt eine Verteilung von 40/60 in der zweiten Runde und 30/70 in der dritten Runde. Diese sollten ja eigentlich gleich verteilt sein im Aggregat, auch wenn für die einzelnen Individuen die Wahrscheinlichkeit zwischen Mann und Frau ab der zweiten Runde nicht mehr 50/50 ist.  Das dazu verwendete Verfahren sah wie folgt aus: Zu Beginn der Befragung wurde Befragten für jede der drei Runden eine zufällige Zahl zwischen 1 und 6 in einer versteckten Frage zugewiesen. Allerdings unterscheidet sich das Verfahren in Runde 1 von den anderen beiden Runde. Runde 1:Hier wurde eine zufällige Zahl zwischen 1 und 6 über folgende Expression in der versteckten Frage randname1 generiert.
Code:
if(is_empty(randname1), rand(1, 6), randname1)
 Runde 2:Hier wurde zunächst ein String in der versteckten Frage base2 generiert, der alle Zahlen zwischen 1 und 6 enthält, die nicht in Runde 1 gezogen wurden.
Code:
str_replace(randname1, "", "123456")
 Daraufhin wurde aus dem übrig gebliebenen String mit 5 Stellen in base2 ein zufälliger Wert in der versteckten Frage randname2 generiert.
Code:
if(is_empty(randname2), substr(base2, rand(0, 4), 1), randname2)
 Runde 3:Das Vorgehen aus Runde 2 wurde hier analog angewendet. Die Daten legen nun nahe, dass die Zufallsauswahl in Runde 1 funktioniert hat. In Runde 2 und 3 gibt es allerdings eine starke Tendenz zu niedrigen Werten, sodass diese deutlich häufiger generiert wurden als höhere Zahlen. Kann es sein, dass die randomisierte Auswahl bei einem String mit Zero-Indexing in LimeSurvey nicht korrekt funktioniert, sondern nur für numerische Nummernfolgen? Oder liegt der Fehler an einer anderen Stelle? Grundsätzlich hat das Verfahren funktioniert, nur die Verteilungen sind nicht gleich. Ich habe hier auch eine dazugehörige .lss Datei angehangen. Die angesprochenen Fragen finden sich in der Gruppe "Persönliche Angaben". 

File Attachment:

File Name: limesurvey...2912.lss
File Size:690.15 KB
 Vielen Dank im Voraus für die Hilfe! Viele GrüßeManuel 
08 Jan 2026 23:39

@holch I display the survey group by group (what's the best practice?). Thanks for the side tip on format as well. Not sure what exact exactly is wrong because I also found the font in Joffm's screenshots too tiny, but from my preview end, it's legible enough (using Georgia default size). 

I am not referring to the actual font size. The size is readable. But what I am referring to is the "blob" of text, without line breaks, paragraphs. There is no structure.Look at joffm's screenshots. There is one long text.

I would give the text a better structure, with paragraphs, bullet points, etc. This will make it more readable and easier to grasp for respondents. 
08 Jan 2026 23:34
Replied by holch on topic randomize matrix questions

i imagined it somehow easier to get the hang of it.


It's because you start directly with advanced research approaches and not just a simple basic survey. This requirement that you have might not even be available in many more basic survey tools.

And yes, Limesurvey has a bit of a learning curve, but so do most survey tools that allow for more complicated survey approaches.

You will get the hang of it soon, if you put some time and effort into it. And when you get stuck, the forum is here to help. Sometimes you'll need a little bit of patience, because the forum is run by users for users, but usually you get answers quite quickly,
08 Jan 2026 23:30
Replied by holch on topic randomize matrix questions
No.

When you create two groups, in theory you have two "fixed" sets of 60 questions, as you said.

However, no comes the "randomisation group name" into play. What happens when you give the same randomisation group name to all of the questions? you have 120 positions for these questions and they will get randomly shuffled around.

Lets have a simple example with two question groups A and B and 6 questions (Q1-Q6).

A: Q1 - Q2 - Q3
B: Q4 - Q5 - Q6

Now you give the questions Q1 to Q6 all the same "randomisation group name", let's call it "random". What happens? The 6 questions will be shuffled around randomly.

E.g.
A: Q3 - Q5 - Q6
B: Q1 - Q4 - Q2

So you are already halfway there. Now, if you hide the second group B, you will have 3 questions randomly drawn out of a bucket of 6, as the ones that have been shuffled into the group B will not be shown, as the group B is hidden.

A pretty easy approach to what you are trying to do.

Now, do the same for 120 questions. Divide them into at least 2 groups (you can use more groups if you want to) and hide as many groups as you need to hide 60 questions.

So the easiest is to create 2 groups, each with 60 questions (all questions with the same randomisation group name so they get shuffled among their positions). This works perfect if you usually show question by question.

If you use Group by Group display, you will have to modify the approach a bit. The hidden question can still contain 60 questions and then you create as many groups as you need for the other 60 questions.

I hope this made the approach clearer?
08 Jan 2026 23:02
Replied by Bennex on topic randomize matrix questions
Thank you for your answer! I just startet to get to know limesurvey, i imagined it somehow easier to get the hang of it.

If i understand this correctly, i have then two fixed sets of 60 questions, and a participant will either see set A or set B?

My goal is, that each participant will get an indiviual set of 60 randomized questions out of those 120. How do I solve this?
08 Jan 2026 16:40

In case I encounter any issues with my randomizations using this display format

You won't do this, as long as you do it correctly.

I mentioned this because some strange ideas occur that require something like "two groups  with four questions inside another group" or randomisation of pairs of questions which are also randomised, etc.
 
08 Jan 2026 16:17
Hi Joffm,
Thanks for this detailed explanation. I have changed my display settings to question by question and immediately noticed the difference. There's a better reflection on each question and less response fatigue. 

In case I encounter any issues with my randomizations using this display format, I will come back to this thread to seek solutions :)
 
Displaying 181 - 195 out of 234 results.

Lime-years ahead

Online-surveys for every purse and purpose