Welcome to the LimeSurvey Community Forum

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

Responses

  • urpal12
  • urpal12's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago #200911 by urpal12
Responses was created by urpal12
Hello. I have a problem with responses. I made two group of questions from survey as random that they appear at the beginning of the survey or at the end alternately. And it works how i wanted. Groups of question appears alternately on the second or fourth page.

The problem is that all respondents' answers in the responses are in natural order and there don't show who had different order in the survey.

What do I need to change, that it showed me who had the survey with the changed order group of question?
The topic has been locked.
More
3 years 10 months ago #200912 by jelo
Replied by jelo on topic Responses

urpal12 wrote: What do I need to change, that it showed me who had the survey with the changed order group of question?

There is no option or setting to show the order of showed questiongroups.

The workaround is to add a hidden equation question to each group you want to track and enter this ExpressionScript/ExpressionManager code
Code:
{self.gseq + 1}

The variable self.gseq is counting from 0 to the last displayed group. The +1 is to start from 1.
That way you could add the displayed order to your responses.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: urpal12
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago - 3 years 10 months ago #200913 by Joffm
Replied by Joffm on topic Responses
How did you randomize these groups?
By a random number?

Then this is stored in the database; so you know it.

As you explained I cannot imagine that you used "randomization group name".

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 10 months ago by Joffm.
The topic has been locked.
  • urpal12
  • urpal12's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago #200932 by urpal12
Replied by urpal12 on topic Responses
Survey menu>list question groups and I put the same word in two groups by wrote in section "Randomization group". It works when I fill out the survey, but in the responses i don't see surveys, where pages had change position.
Generally my study is that I have an experimental and control group. The control group is the one in which the page with the question table is in a natural position while the experimental group, it is the one in which the order changes.
The topic has been locked.
  • urpal12
  • urpal12's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago #200954 by urpal12
Replied by urpal12 on topic Responses
The script works during fill out the survey but still in people responses i can't recognize group with different order. Is there any additional code to {self.gseq + 1} which could write the number which generate code gseq?

my point is that the {self.gseq + 1} code does not solve the problem because in the responses it saves as the source code "{self.gseq + 1}"

I'm completely green in it. Thanks for help.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 10 months ago #200957 by tpartner
Replied by tpartner on topic Responses
Try using a numeric input question with {self.gseq + 1} as the default answer and hide the question with a CSS class "hidden".

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: urpal12
The topic has been locked.
More
3 years 10 months ago #200968 by jelo
Replied by jelo on topic Responses

urpal12 wrote: because in the responses it saves as the source code "{self.gseq + 1}"

What version of LimeSurvey is used? Since you are not used to ExpressionScript it might be a detail we are missing.
So you might create a simple survey with two groups and the randomization and the self.gseq code. If that is still not working, you could export that survey as LSS export and attach it here. That way we might isolate the issue.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The following user(s) said Thank You: urpal12
The topic has been locked.
  • urpal12
  • urpal12's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 10 months ago #201072 by urpal12
Replied by urpal12 on topic Responses
Thank you very much! It works. Thanks all for help! :)
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose