- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Remote control ask a subset of questions from one survey?
- timcolson
- Topic Author
- Offline
- New Member
Less
More
9 years 2 months ago #117095
by timcolson
Remote control ask a subset of questions from one survey? was created by timcolson
Imagine a 10 question survey. I always want to ask Q1 and Q2, then pick 3 more questions based on external rules.
I've looked at the Remote Control API and extensions, but a strategy to do this isn't obvious to me.
Suggestions welcome. Thanks!
Tim
I've looked at the Remote Control API and extensions, but a strategy to do this isn't obvious to me.
Suggestions welcome. Thanks!
Tim
The topic has been locked.
- fransmarcelissen
- Offline
- Premium Member
Less
More
- Posts: 113
- Thank you received: 46
9 years 2 months ago #117097
by fransmarcelissen
Replied by fransmarcelissen on topic Remote control ask a subset of questions from one survey?
Could you give more informatation about these external rules?
Frans
Frans
The following user(s) said Thank You: timcolson
The topic has been locked.
- timcolson
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
9 years 2 months ago #117099
by timcolson
Replied by timcolson on topic Remote control ask a subset of questions from one survey?
@Frans -- Thanks for the reply.
The key point is that the rules are external (i.e. originating outside Lime which I'll call the "RuleEngine").
I purposely did not include more info on the RulesEngine because it is tangential to the problem. If I need to use RemoteControl from the RulesEngine, for example, I could make that happen.
What matters to me is that when a user takes the survey, they see 5 questions that include: Q1, Q2, plus Qx, Qy, Qz as selected by the RuleEngine.
The key point is that the rules are external (i.e. originating outside Lime which I'll call the "RuleEngine").
I purposely did not include more info on the RulesEngine because it is tangential to the problem. If I need to use RemoteControl from the RulesEngine, for example, I could make that happen.
What matters to me is that when a user takes the survey, they see 5 questions that include: Q1, Q2, plus Qx, Qy, Qz as selected by the RuleEngine.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10108
- Thank you received: 3593
9 years 2 months ago - 9 years 2 months ago #117113
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Remote control ask a subset of questions from one survey?
Rather than remote control, I would make an AJAX call from the survey to the "RuleEngine". Based on the returned result you could populate a hidden question to control relevance of various questions.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 9 years 2 months ago by tpartner.
The topic has been locked.