Quantcast
Channel: Topics in Category: Can I do this with LimeSurvey? - LimeSurvey forums
Viewing all articles
Browse latest Browse all 17529

Get latest response with export_responses_by_token() API function - by: SybrenR

$
0
0
As a new feature for our existing survey, we want some users to be able to fill in a survey again.
To do this, we set 'completed' back to 'N' and 'uses left' to 1, so the user can use the same token again to fill out the survey.

This results in 2 complete responses to the survey.

When using the API to retrieve the answers, the only data that comes in is the first reponse, even though we are only interested in the newer answers. This can be bypassed by setting the first reponse to completed='NO', but I think there should be a better way to allways download the most recent response for a token.

Does anybody know how I can achieve this? Thanks in advance!

Viewing all articles
Browse latest Browse all 17529

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>