Automatic participant ID

Hi All,
I am wondering whether ODK can create automated Participant IDs.
Because my participants will register online, and this way i would love to already give them their Participant ID with this registration, is this possible?
I know that ODk creates the uuid, but is it possible to creat an automated ID which I specify?

1 Like

Yes it’s possible as you can create a JavaScript function in the calculates page of a form to generate an ID however you want.

See:
https://docs.odk-x.org/xlsx-converter-using/#using-calculations
https://docs.odk-x.org/xlsx-converter-reference/#calculates

2 Likes