Welcome to the LimeSurvey Community Forum

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

Randomization issue + limesurvey navigation buttons/index error

  • LolaTx
  • LolaTx's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 months 1 week ago - 2 months 1 week ago #266743 by LolaTx
Hello,
I have been encountering an issue since my university upgraded to a new version of LimeSurvey, moving from version 3 to version 5.In the new version, when I have to answer questions from a particular group of questions (e.g., Group A), I receive the following error message when trying to proceed within the group (e.g., moving from ‘Group A – question gc1A1’ to ‘Group A – question gc1A2’) : “please use the limesurvey navigation buttons or index. It appears you attempted to use the browser back button to re-submit a page”. However, I would like to point out that I am not trying to go back to previous questions; I am simply clicking on the ‘next’ button to go to the next question of Group A.

I have noticed that, unlike in LimeSurvey 3 where everything worked perfectly, LimeSurvey 5 now tells me that some randomization variables are undefined. I think the issue of ‘limesurvey navigation buttons’ might stem from that. I am attaching some screenshots for clarity, as French is not my native language.

The ‘PreGroup’ question-group is composed of a hidden first question in order to randomly assign participants to 1 of 4 conditions (Group A, Group B, Group C, or Group D).
Last edit: 2 months 1 week ago by LolaTx. Reason: clarity

Please Log in to join the conversation.

  • LolaTx
  • LolaTx's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 months 1 week ago #266744 by LolaTx
screenshots : 

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 months 1 week ago #266746 by Joffm
Hi,
at first you should extend your randomization equation to
{if(is_empty(random),rand(1,4),random)}

This error message is not severe.
It shows up when you open the survey but didn't open this question "random". LimeSurvey seems to ignore it unless the question is opened.

But you should send the lss export.

One question: How did you manage to have identical question codes in all 4 groups?

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • LolaTx
  • LolaTx's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 months 1 week ago #266747 by LolaTx
Hi Joffm, 

Thank you for your help. I tried adding the randomization equation as you suggested but it does not solve the problem. I'm still having the following error : please use the limesurvey navigation buttons or index. It appears you attempted to use the browser back button to re-submit a page. 

I did not :-) Just took a screenshot of on of the groups and duplicated it 4 times.

Please find attached the Iss of a questionnaire presenting only the questions of interest, thank you again
 

File Attachment:

File Name: limesurvey...9713.lss
File Size:2,437 KB

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 months 1 week ago #266749 by Joffm
Hi,
there seems to be a big misunderstanding about "randomization groups".

Randomization groups are used if you want to display elements in the group in randomized order.
Let's say you want to display all four groupsn but in randomized order.
Then you give all groups the same "randomization group name", like "RG1"
As you may read in the manual
[url] www.limesurvey.org/manual/Question_group...reate_question_group [/url]

Randomization group: To start randomizing a question group, enter a string into the field such as randgroup1. You will need to enter that same string in all question groups that you want to randomize and which will then appear in a random order when taking the survey. Only places inside the same group will be randomly switched!

What you did, enter a different name into each group, is useless. Furthermore as you only display one of the four groups.

And now my findings:
I see no no issue in 5.6.57.

But you copied the images. This results in this
 
Therefore the lss export of this tiny survey takes about 2500 kB.
And I fear that this is the reason for this issue.
Have a look at the settings of your php.ini. (e.g. max_input_vars)

Images are linked as you did here
Code:
<p style="text-align:center;"><img alt="" src="upload/surveys/{SID}/images/1A-1-1.jpg" /><img alt="" src="upload/surveys/{SID}/images/1A-1-1.jpg" /></p>

You see that I changed the hard coded survey ID to {SID}. This is safer, if you change something (copy the survey, export and import). Then the surveyID is always correct.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose