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.
- Load/deploy example
- Select 'AA'
- Try to move to next page / or to validate or send form >> Error message appears
- 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). - Select 'CC' (or 'BB') >> Message is not removed!
- In Collect: Check for Errors (Menu) >> Ok! (But msg still there, see screenshot)
- Go back to Intro page and move on >> Msg is still there!
- Try again to move to next page and move/navigate back >> Msg is only removed in
Collect - 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?