hide the error box after the given condition is met
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2024 07:43 AM
I have a requirement where I am using g_form.showErrorBox method and I want this box to automatically disappear from the filed once the given condition has been met. Is there any ways to implement it.
For example If I am setting a minimum limit of 25 characters for description and if the user fills below 25 characters then this error box appear but if user fills 25 character then this error box should disappear from the filed without changing to the next variable.
but currently its disappearing after I move my cursor from the description filed to other filed.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2024 07:46 AM
Hi,
If you have a trigger then you can use the below to clear All the error on the form
gs.clearMessages()