Show field message
Options
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-05-2023 03:26 AM
Hi Everyone,
I have a requirement where I need to show the field message based on condition but there is a link which not coming inside the blue box due to split , Can anyone suggest me how to resolve it > Can we hide annotation on some conditions I can't use addInfoMessage because client wants below field only.
var msg = 'You have to contact Export Link to https://example.com';
var data = g_form.getValue('u_military');
if (data == 'true') {
g_form.showFieldMsg('u_military', msg);
} else {
g_form.clearMessages('u_military');
}
}
0 REPLIES 0