Welcome to the LimeSurvey Community Forum

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

Designing Issue

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 days 14 hours ago - 3 days 14 hours ago #267731 by Joffm
Replied by Joffm on topic Designing Issue
Hi,
here the lss export
 

File Attachment:

File Name: limesurvey...59_J.lss
File Size:75 KB


Short explanation.
1. Create a structured text with the attributes of all 200 options,
 
You see, at the beginning a number to identify.
And all attributes start at the same column and have the same length
Enter this text as default value in the first question Q0 (huge text) (hidden)

2. Question QS (hidden by script) is a "multiple short text" question with 8 subquestions where you store the selectes eight numbers.
Here the already shown script is entered.

3. Info is just a placeholder. Here you enter your other questions of the beginning - or some information text about the next questions, or .... This is necessary.

4. SE is a "multiple short text" question (hidden) with 8 subquestions where you store the rows of Q0 that are selected. So it's just a help container.

5. eqSE is an equation (hidden) which uses the functions "strpos()" and "substr()" to find the selected rows and store them into this "container"

6. Q1 is your question of type "array(numbers)"
In the question text you create the table.
The values are inserted by ExpressionScript - again using the function "substr()".
And there is another script inserted, which defines the width of the columns.
 

Joffm

This is a simple solution, but it is a little more complex to analyze.
To compare the values ​​of the individual applicants, you have to restructure the response table.
But this is also quite easy, since you know exactly who was shown in each case (in QS, where is stored the number of the applicants)

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 days 14 hours ago by Joffm.
The following user(s) said Thank You: Mastelew

Please Log in to join the conversation.

  • Mastelew
  • Mastelew's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 days 6 hours ago #267735 by Mastelew
Replied by Mastelew on topic Designing Issue
Dear Joffm,Thank you for your tireless efforts to support researchers on this forum. I've gained so much from your guidance and expertise, and I truly appreciate it.To explain my approach, I'd like to use the structure I’ve attached below. My goal is to randomly display eight resumes in a single question group. To achieve this, I've organized my survey into 25 groups, with each group containing one question and eight answer choices for the eight resumes. This setup comes from the calculation 200/8=25200 / 8 = 25200/8=25.Additionally, I've included a condition in a separate group at the beginning of the survey. Each question group follows the same randomization setup and applies the condition I’ve established. Please refer to the attached “LSS” file, and I look forward to your feedback.Thank you once again, and I hope this will be my final question! With warm regards and deep appreciation
 

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 days 5 hours ago - 3 days 4 hours ago #267736 by Joffm
Replied by Joffm on topic Designing Issue
Do, whatever you want.
You got enough examples.

Now you should be able to design your desired layout.

And read the manual about question types.
This last approach is really bad.
Maybe better
 
array(numbers)

Joffm

And I saw "slice(0,1)" in the script.
So youonly want to select one number.
In this case the whole script is obsolete.
A simple random number {if(is_empry(randnum),rand(1,4),randnum} is sufficient.
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 days 4 hours ago by Joffm.

Please Log in to join the conversation.

  • Mastelew
  • Mastelew's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 day 11 hours ago #267765 by Mastelew
Replied by Mastelew on topic Designing Issue
Dear Joffm,
Thank you so much, I have gained allot of example, from which I can choose that one that fit to my study. Now, I am working with the platform and become friendly with it. Have a nice time.
With regards;

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose