Hi everyone,
I’m working with single submission links in Kobo (using the /single/{UID} endpoint) because I need to redirect respondents to an external dashboard after they complete the form.
My link looks like this:
https://ee.kobotoolbox.org/single/AB12CD34?return_url=https://www.example.com/redirect?rid=5678
What I’m trying to do is store the rid (respondent ID or panelist ID) inside the Kobo dataset, so I can later match the submission with data from my external system.
I’ve already tried:
-
pulldata("@query","rid") -
query("rid") -
Adding a text field named
ridand using?rid=...in the URL
But it seems that /single/ links ignore URL parameters (other than return_url), and I can’t find a way to access or save the rid value in the form submission.
Is there any way, either through form logic, hidden calculations, or any other method, to store a unique respondent ID when using /single/ links with a redirect URL?
Thanks in advance!
