Welcome to the LimeSurvey Community Forum

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

Problem with randomly showing one or the other question

  • schoell.lukas
  • schoell.lukas's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 10 months ago #229127 by schoell.lukas
Please help us help you and fill where relevant:
Your LimeSurvey version: [see right hand bottom of your LimeSurvey admin screen]
Own server or LimeSurvey hosting:
Survey theme/template:
==================

Hey, 

I just made a question group with 3 questions

1. With the random number generator 
2. Quetsion one 
3. Question two 

But in the preview I am not seeing any question. 

As in the images below you can see the script. 

Any ideas would be great, I am also happy to pay someone to help with this problem.

Thank you very much in advance for the help.

Kind regards, Lukas

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 10 months ago - 1 year 10 months ago #229130 by Joffm
Hi, Lukas,
there are some mistakes.

1. You did not answer the initial questions.

2. The question type of "randnumber" is wrong. Has to be "equation".

3. The condition of the next questions is wrong. 
The condition to show the question is "randnumber==1" resp. "randnumber==2"

4. Validation is used to make sure that the input fulfills certain conditions. E.g. you could check that the input in a "long free text" is at least 50 characters long, that it contains the word "red", and so on.

This topic "2 randomly displayed questions" is covered by many, many articles here in the forum.

But to learn these basics, please read the manual, download and study the sample surveys.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 year 10 months ago by Joffm.

Please Log in to join the conversation.

  • schoell.lukas
  • schoell.lukas's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 10 months ago #229136 by schoell.lukas
Hey Joffm,

sorry for not giving you all the info.

But I could fix it with your suggestions, thank you so much.

As you seem like a person of philosophical interest here is a related quote to our short conversation.

“The smallest act of kindness is worth more than the grandest intention.”
~Oscar Wilde

Thanks again

best Lukas

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose