Skip to main content
Nintex Community Menu Bar
Question

error messages shown only once

  • July 10, 2024
  • 2 replies
  • 17 views

Forum|alt.badge.img+1

I am using some client-side validation in my app, and running into a certain issue.
I’m using a function like the following to handle messages -

function errorMessage( message ) {<br>&nbsp; &nbsp; var title_component = skuid.$(‘#my-page-title').data('object');<br>&nbsp; &nbsp; title_component.editor.handleMessages( [{ message: message, severity: 'ERROR'}] );<br>}


The messages display just fine. The issue is that, if the user hides the message by clicking on it, and then makes the same mistake again (or a different mistake that triggers the same message), nothing is shown.

Is this by design, or a bug in my code, or a bug in Skuid? Is there some way to “reset” the component that is showing the message so it will show the messages again?

Thanks!

This topic has been closed for replies.

2 replies

Forum|alt.badge.img+3

Hi, I’m facing the same problem.Did you find any solution for this?


Forum|alt.badge.img

Use clearErrorMessage();  before start calling any error messages.

function clearErrorMessage( message ) { &nbsp; &nbsp; var title_component = skuid&#46;$(‘#my-page-title')&#46;data('object'); &nbsp; &nbsp; title_component&#46;editor&#46;clearMessages(); }