Creating unique ID from the available variables using calculate

Hi @tanzilhuda,

Please see the attached (slightly edited and refined version) xlsform where @Xiphware and @azadkhan had contributed significantly. It should now work smoothly even in the group in Enketo, KoBoCollect as well as ODKCollect.

In the survey tab of the xlsform:

In the choices tab of the xlsform:
Image%202

Screenshot on KoBoCollect:

Reference xlsform:
Unique-ID.xls (26.5 KB)

GOOD DAY!