ok I did it for you:
github.com/LimeSurvey/LimeSurvey/commit/...bda5204cdcc8750efe16
This feature has been requested a bunch of times in the forum, and it's very easy to add, so here we go. Also, it shows what can be done via twig and custom functions.
It will be available in next release, you can still implement the commit in your local version.
To use it: turn on quota, public statistics, then in submit.twig view add something like:
Code:
{% set aResponses = getAllTokenAnswers(aSurveyInfo.sid) %}
{{ dump(aResponses) }}
You'll see that aResponses contains all the responses of the current token.
Just loop throught it to do what ever you want.