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
  • timcolson's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 2 months ago #117095 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
The topic has been locked.
  • fransmarcelissen
  • fransmarcelissen's Avatar
  • Offline
  • Premium Member
  • Premium Member
More
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
The following user(s) said Thank You: timcolson
The topic has been locked.
  • timcolson
  • timcolson's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 2 months ago #117099 by timcolson
@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 topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 2 months ago - 9 years 2 months ago #117113 by tpartner
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.

Lime-years ahead

Online-surveys for every purse and purpose