Welcome to the LimeSurvey Community Forum

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

chose a certain number of question groups

  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 9 months ago #170150 by holch
Replied by holch on topic chose a certain number of question groups
Please no double posts! this has already been discussed thoroughly in the German forum yesterday!
www.limesurvey.org/forum/german-forum/11...ragegruppen-zufällig

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • zoe123
  • zoe123's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 9 months ago #170155 by zoe123
Replied by zoe123 on topic chose a certain number of question groups
Thank you holch and tpartner for your help!!! :)

I double postet since i couldn`t find a solution in both forums, my problem is unfortunately not solved yet and thought it might as well help people who don't speak german and read it here.

@ tpartner thank you for your file. The file is working perfectly. I made in analogy all the changes in my survey

1 checked for unnecessary code in the equation
2 wrote "randnumber" instead of "rand"
3 put the randquestion within the first question group (Instructions)
4 and also found, that I always had randnumber =='1' instead of randnumber"1", so I changed that as well.
When I check the Syntax, I get no errors- but still, the preview is not showing me the question groups 2-19.

Do you or someone else have any other Ideas I could check???
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 9 months ago #170157 by holch
Replied by holch on topic chose a certain number of question groups
export your .lss file again. I suspect that you did not change everything accordingly.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • zoe123
  • zoe123's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 9 months ago #170177 by zoe123
Replied by zoe123 on topic chose a certain number of question groups
here is a short version of my survey. It gives me no syntax error, but its somehow just showing initial and last question group and none of the three i want to randomize.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 9 months ago - 5 years 9 months ago #170178 by tpartner
Replied by tpartner on topic chose a certain number of question groups
Once again, your equation question is full of junk HTML.


Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 5 years 9 months ago by tpartner.
The following user(s) said Thank You: zoe123
The topic has been locked.
  • zoe123
  • zoe123's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 9 months ago #170179 by zoe123
Replied by zoe123 on topic chose a certain number of question groups
How strange is that- in my Lime version it's never showing me the junk. But i think it was a copy paste error- because I copied your Syntax from the forum and didn't type. :blush:
So now there is a new file which shouldn't have the HTML junk
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 9 months ago #170185 by tpartner
Replied by tpartner on topic chose a certain number of question groups
Now you have forgotten the curly braces around the equation and you have an unnecessary closing bracket.

Here is a working version:

File Attachment:

File Name: limesurvey...6697.lss
File Size:56 KB

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: zoe123
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 9 months ago #170188 by holch
Replied by holch on topic chose a certain number of question groups
yes, found this as well. When you are doing stuff like this, don't hide the equation question right away. You want to test if the equation is working correctly. If the question is hidden from the beginning, you won't see that.
Here is how the equation question looks like, when it is not hidden:




So it doesn't show the actual calculation, but rather the text of the equation itself, this indicates that there is something wrong with the equation.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: zoe123
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
5 years 9 months ago #170189 by holch
Replied by holch on topic chose a certain number of question groups
You can also notice this in the backend. Equations are usually highlighted, like this:


I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: zoe123
The topic has been locked.
  • zoe123
  • zoe123's Avatar Topic Author
  • Offline
  • Junior Member
  • Junior Member
More
5 years 9 months ago #170209 by zoe123
Replied by zoe123 on topic chose a certain number of question groups
IT FINALLY WORKS!

Thank you so much holch and tpartner!!!
You deserve so many karma-points!! I can't give the same with Limesurvey advise. But I' ll definitely give my help/advise to someone in need with a problem I can be a helpful with.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose