Welcome to the LimeSurvey Community Forum

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

chose a certain number of question groups

More
7 years 2 months ago #170177 by zoe123
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.
More
7 years 2 months ago - 7 years 2 months ago #170178 by tpartner
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: 7 years 2 months ago by tpartner.
The following user(s) said Thank You: zoe123
The topic has been locked.
More
7 years 2 months ago #170179 by zoe123
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
More
7 years 2 months ago #170185 by tpartner
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.37 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.
More
7 years 2 months ago #170188 by holch
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.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The following user(s) said Thank You: zoe123
The topic has been locked.
More
7 years 2 months ago #170189 by holch
You can also notice this in the backend. Equations are usually highlighted, like this:


Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The following user(s) said Thank You: zoe123
The topic has been locked.
More
7 years 2 months ago #170209 by zoe123
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.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose