I'm using NPS Enterprise Version 2.05+ Lime survey.
Was trying to randomly participants to two different set of questions.
1. My design is as such currently:
- Question Grp: Consent (Human Subject Research)
- Question:
Code: randomnumber
{if(is_empty(randomnumber.NAOK),rand(1,2),randomnumber.NAOK)}
2. I try to create two more questions. And assign them with either ((randomnumber.NAOK==1)) or ((randomnumber.NAOK==2)).
However, when I test the survey, the questions i created does not seem to appear but instead a page with either a "1" or "2" with no question appear.
What is NPS Enterprise Version in connection with Limesurvey? NPS = Net Promotor Score???
If you are still on 2.05+ you should definitely consider an upgrade to a more recent version of Limesurvey.
Now to your problem: I think you are going in the wrong direction completely. Can you upload an example survey (export a LSS file with only the relevant questions) so that we can have a look at what you are doing?
I think you are not using relevance equations for the questions.
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.
Question "randomnumber": this needs to be a equation type question, not a "long free text" type of question, otherwise you can't read the random number for the relevance equations on the follow up questions.
In Question E1 you are using the question validation equation ((randnumber.NAOK, however, there is no question called "randnumber" in your survey. Correct would be "randomnumber". However, I don't know why you need this there. It doesn't make sense. You just need the relevance equation, which seems to be correct (once you fixed the first point).
Once you fixed these questions, it will work. I tested it here.
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.