Triggering is not working properly in Enketo at times

I have added trigger calculation logic based on value changes. It works correctly in ODK Collect, but the same behavior is not working consistently in Enketo.
I have attached the XLSX file and the error screenshot for reference.

timeIssue.xlsx (13.2 KB)

Can you please share the steps to reproduce the issue? In which scenarios, the value is not populated?

1.Create new submission from central.

2.While entering “poor” question,the both date and time need to be auto populated.

ah, it is really an intermittent issue, I was able to reproduce it after trying 10+ times :frowning:

I haven't been able to figure out the pattern though.

I have reported this issue to Enketo's team, you can follow its progress at https://github.com/enketo/enketo/issues/1469

In the meantime, you can use dateTime question type to set the end date and time of the interview. If you want to split date and time into two separate fields then use can use format-date-time function.

1 Like