- Posts: 350
- Thank you received: 41
Ask the community, share ideas, and connect with other LimeSurvey users!
Joffm wrote: Do an ajax call in the first question; query the database by direct access or by the API.
If you had the technical feature to do it inside LimeSurvey, you might still have an uneven distribution after qualitycheck. Completed surveys by speedster or with bullshit are mostly removed afterwards. Even with a more sophisticated quota system (which is LimeSurvey lacking) this issue cannot be resolved.Jmantysalo wrote: However the distribution will probably not be very equal-sized, as the number of people taking survey is quite small.
jelo wrote: Completed surveys by speedster or with bullshit are mostly removed afterwards. Even with a more sophisticated quota system (which is LimeSurvey lacking) this issue cannot be resolved.
The API cannot be used from within LimeSurvey (yet). You will need to make an AJAX call to a remote PHP file that uses the API.Can you give some example about using API inside the survey?
holch wrote: Savedid is given to anyone that start the survey. So it does not guarantee that you have x respondents completed if there are x Savedids that end with 1 for example.
It would be roughly the same problem as for the rand(1,10), probably.
github.com/LimeSurvey/LimeSurvey/pull/13...187a239308679b427506Jmantysalo wrote: Anyways, kind of strange that one can do about everything but can't refer to quota or number of complete responses. Maybe something like getStatInSurvey-plugin will be part of core in the future.