The Message in showFieldMsg is disappearing immediately
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2024 03:10 AM
Hi All,
In the below code the message in showFieldMsg is disappearing immediately after appearing. If we remove the g_form.clearValue() the message stays but the invalid value does not get cleared,
if (X > Y) {
g_form.clearValue('abc');
g_form.showFieldMsg('xyz', 'AAAAAAAAAAAAAAAA, 'error');
return;
}
Any idea why ?
Thanks,
Uma
15 REPLIES 15
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-01-2024 03:42 AM
No , I did not accept the solution it was by mistake.