Create Hidden Field to pass User ID and Pass it via query params

I have embedded kobo iframe in to my mobile app I want to pass user’s ID with my form but it shouldn’t ask from user in separate from can we pass hidden values like using query prams ?

Yes, you should be able to pass values for any response, including responses to hidden questions, using query parameters. For example, to set the collectorID response to CAT_PEOPLE, you could use https://ee.kobotoolbox.org/single/lZr49Upg?d%5BcollectorID%5D=CAT_PEOPLE. For more details, check out the following discussion:

If this does not work for iframes for some reason, please let us know.

1 Like