Show field message

Niyeeti Dey1
Tera Contributor

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