- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2017 06:48 AM
Hello,
I want to display the field message but once user entered the field value, the info message shouldn't be there.
Please help me to get this done.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2017 06:56 AM
Try this
//tested
function onLoad() {
//Type appropriate comment here, and begin script below
var getField = g_form.getValue('u_num1');//u_num1 is field name
if(getField =='')
{
g_form.showFieldMsg('u_num1','Test');
}
else if(getField!='')
{
g_form.hideFieldMsg('u_num1', true);
}
}
Harish

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎03-13-2017 07:56 AM
Np..:) If your issue is solved. Can you mark the answer as correct and close the thread?
Harish