Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
By the way: I also don't understand how your code generates the final output shown in the question either. I need a little bit more time to test and check.
What I had done:
Group 1: one question "Q1" with {rand(1,5)} in it.
Group 2: One text display with {Q1} in it. Somehow the numbers shown in both questions can differ.
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.
Group 1 : one question RANDOM: equation question : equation set to {rand(1,5)}
Group 2+3+4 : 4 question near same expet for the code:
Q1: condition RANDOM==1
Q2: condition RANDOM==2
Q3: condition RANDOM=
Q4: condition RANDOM==4
Look at the logic file
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.
Ohhhh man! I thought the "Random==1" code was generated by a code, but it is basically hardcoded.
I will have a closer look at this when I have a little more time.
I think the problem is that I display the result of question Q1 with {Q1} in the question text. That seems to force the random function to be triggered again. But I will investigate a little further.
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.
Must give a try ading it in all question text (but still sure it worked before).
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member. -
Professional support
-
Plugins, theme and development
. I don't answer to private message.