Field message disappears (without using hideMsg) when the value of the field changes. Is it a servicenow bug?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2022 07:53 AM
Hello,
I noticed a strange behavior on one of my catalog items.
I have a form, like this in my personal dev instance:
When the user changes the "Name for requestor" field, a msg is displayed unter my test field.
When the user inserts a value on the "test" field, the msg is hidden. I want this msg to be visible always.
And this is my catalog client script.
Super strange, any ideas why this is happening?
Is this a bug?
Is there any way to show the msg always to the user????
Thank you,
Smith.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2022 07:58 AM
Are there any other catalog client scripts or UI policies defined for this catalog item?
Regards,
Chris Perry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2022 08:08 AM
Not at all 🙂 There are no UI policies or other scripts. Seems like a bug

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2022 08:17 AM
Got it - yes, you are correct it is a known error: PRB1195721
If this answer is helpful please mark correct and helpful!
Regards,
Christopher Perry
Regards,
Chris Perry
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-01-2022 08:15 AM
If you want a message to always be there, simply add an Annotation type variable after the test variable and put your text in there. That is what it is for.
Yes, it is working correctly, at least that is how it works in my instance as well. Upon changing the value in the text box field any messages tied to it will be removed.
Aoife