Welcome to the LimeSurvey Community Forum

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

Survey statistics in question

  • LimeLight
  • LimeLight's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
10 years 5 months ago #100538 by LimeLight
Survey statistics in question was created by LimeLight
Can I use survey statistics in a question? Like this:

Q1. So far {XXX} respondents have rated this artwork at {Y.Y} on a five point scale. How would You rate it?

1: Hate it
2: Don't like it
3: Neutral
4: Like it
5: Love it

Replacing XXX with the number of respondents completed the survey at that time, and Y.Y with the mean of Q1.

TIA

// s
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
10 years 5 months ago #100552 by tpartner
Replied by tpartner on topic Survey statistics in question
No, there is no direct access to the results table from within a survey. You would need to fire an AJAX call to a remote PHP script that accesses the database and returns your results.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose