Hello,
as per the suggestions at Beneficiary IDs: Identifying beneficiaries across different forms or different submissions of a form, I followed Creating Unique Serial Numbers in Forms — KoBoToolbox documentation to auto-generated a form ID from two of the input fields and the current date.
This is a simplified version of my form:
When previewing the form in a web browser, everything is ok:
But in the Android App, now()
only contains the current date, no hour/minute/second information, and therefore the ID is truncated:
I think this is a bug in the Android app and I would love if someone could suggest a workaround: how can I retrieve the current hour and minute in a calculation in the Android App?
Thank you very much,
Enrico