# Missing Update of Error Message

**URL:** <https://forum.getodk.org/t/missing-update-of-error-message/44791>\
**Category:** Support\
**Tags:** odk-collect, enketo\
**Created:** [January 26, 2024, 2:57pm UTC](https://forum.getodk.org/t/missing-update-of-error-message/44791 "2024-01-26T14:57:42Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![wroos](https://getodk.b-cdn.net/letter_avatar_proxy/v4/letter/w/77aa72/32.png) [@wroos](https://forum.getodk.org/u/wroos)\
**Post date:** [January 26, 2024, 2:57pm UTC](https://forum.getodk.org/t/missing-update-of-error-message/44791/1 "2024-01-26T14:57:42Z")

</div>

**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](https://forum.getodk.org/t/required-mandatory-icon-is-not-changed-set-related-to-a-dynamic-reference/44793)).
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](https://forum.getodk.org/uploads/short-url/mSCGr2eCXqXaGtsopNKLLL3wXT6.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).

 ![image](https://getodk.b-cdn.net/uploads/default/original/3X/2/d/2d7a7fef617234d12771cc5136d515a5f983bf64.png)

ODK Collect - Check for Errors

 ![WhatsApp Image 2024-01-26 à 15.54.54_d1793d4a](https://getodk.b-cdn.net/uploads/default/original/3X/5/8/585f500c0550eeeba6f38cc1b1303b5111967656.jpeg)

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

---

<div class="post-metadata">

**Author:** ![LN](https://getodk.b-cdn.net/user_avatar/forum.getodk.org/ln/32/1605_2.png) [@LN](https://forum.getodk.org/u/LN)\
**Post date:** [January 29, 2024, 7:43pm UTC](https://forum.getodk.org/t/missing-update-of-error-message/44791/2 "2024-01-29T19:43:36Z")

</div>

Thanks! I've filed at [https://github.com/enketo/enketo/issues/1295](https://github.com/enketo/enketo/issues/1295) and [https://github.com/getodk/collect/issues/5941](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.
