Missing Update of Error Message

1. What is the issue? Please be detailed.
If (on a page) an error message for a following question is dependent of another question, the message is not removed when the referenced value changes.

2. What steps can we take to reproduce this issue?
See attached example: Question 2 is dynamically set to required / or not, depending on select in preceding question.

  1. Load/deploy example
  2. Select 'AA'
  3. Try to move to next page / or to validate or send form >> Error message appears
  4. But in Collect the * Icon for mandatory is not set. (It is set in Enketo).
    See extra topic posting (Required (Mandatory) *Icon is not changed/set - related to a dynamic reference).
  5. Select 'CC' (or 'BB') >> Message is not removed!
  6. In Collect: Check for Errors (Menu) >> Ok! (But msg still there, see screenshot)
  7. Go back to Intro page and move on >> Msg is still there!
  8. Try again to move to next page and move/navigate back >> Msg is only removed in
    Collect
  9. Validate or send form >> Now message is also removed in Enketo.

Hint: In Collect, mandatory Icon gets updated, when you open navigation menu (any time).

3. What have you tried to fix the issue?
Activating page style and deactivation. With or without grouping.
Tested with Enketo, Online validator, ODK Collect (v2024.1.0 Beta 1) and KoboToolbox.

4. Upload any forms or screenshots you can share publicly below.
ErrorMsgUpd01.xlsx (13.5 KB)
Enketo (and ODK)
You can see, that the * Icon for mandatory is removed, but not the message (from the previous selection).

ODK Collect - Check for Errors

@LN, Maybe to add this in your Collect / >Enketo differences list? It might even be more general: Update behaviour/events?

Thanks! I've filed at https://github.com/enketo/enketo/issues/1295 and https://github.com/getodk/collect/issues/5941

I believe we'll be able to address the Collect limitations in the spring release. I'm less sure about timing on the Enketo side.

1 Like