1. What is the issue? Please be detailed.
I'm self-hosting ODK Central (v1.5.3, just updated from master) and am trying to prefill fields in public access links.
versions:
da62679fe138eb89b42fcc2d9f61ae9beca9d67b (v1.5.3-2-gda62679)
d9cb07fdceaa7df017ed2aee114db1b2b7e1a2d8 client (v1.5.3)
badb3912fdf4d5dca29bd4cd520b9d3b4788db6e server (v1.5.3)
2. What steps can we take to reproduce this issue?
This works:
- ODK Central > form > submissions > new > Enketo link (create a new submission in browser)
- Append desired parameter to above link
https://DOMAIN/-/HASH?d[request_id]=xxx
prefills the questionrequest_id
to valuexxx
.
This doesn't work:
- Create a public access link
- Append
?d[request_id]=xxx
to access link > redirects to ODK Central homepage.
Update: Append &d[request_id]=xxx
to public access link (note the ampersand)
https://DOMAIN/-/single/HASH?st=TOKEN&d[request_id]=xxx
3. What have you tried to fix the issue?
Searched the docs, web, forum.
4. Upload any test forms or screenshots below.