- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2023 02:47 AM
Hello
I want to how to show a message at the bottom of the field, not just pop up message. I just want to put error message at the bottom of the manager field if the manager is empty the error message will show.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2023 02:50 AM - edited 11-23-2023 02:53 AM
Hi @Community Alums ,
You can use below script on client script as per your requirment
var mange=g_form.getValue('manager_field_backedname');
if(mange==''){
g_form.showFieldMsg('manager_field_backendname', 'Manager field should not empty', 'error');
}
Please mark it as solution proposed and helpful if it serves your purpose.
Thanks,
Anand

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2023 03:17 AM
@Community Alums You can use showFieldMsg method of g_form to show message below a field.
g_form.showFieldMsg('manager','Low impact response time can be one week','info');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2023 04:19 AM
HI @Community Alums ,
I trust you are doing great.
Please find the below code for the same.
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue === '') {
return;
}
// Assuming 'manager' is the field name of the Manager field
if (g_form.getValue('manager') === '') {
// Displaying an error message
g_form.showFieldMsg('manager', 'Please select a manager.', 'error');
} else {
// Clear any existing messages if the manager is selected
g_form.hideFieldMsg('manager');
}
}
Was this answer helpful?
Please consider marking it correct or helpful.
Your feedback helps us improve!
Thank you!
Regards,
Amit Gujrathi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2023 02:50 AM - edited 11-23-2023 02:53 AM
Hi @Community Alums ,
You can use below script on client script as per your requirment
var mange=g_form.getValue('manager_field_backedname');
if(mange==''){
g_form.showFieldMsg('manager_field_backendname', 'Manager field should not empty', 'error');
}
Please mark it as solution proposed and helpful if it serves your purpose.
Thanks,
Anand
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2023 02:54 AM
Hello,
When do you want to show this message?
When user tries to save the form? -> If yes, then make sure manager field is not mandatory and the have a onSubmit client script with the script snippet mentioned by Anand in above reply.
If you need that message in some other instance let know, we might have to approach differently

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2023 03:17 AM
@Community Alums You can use showFieldMsg method of g_form to show message below a field.
g_form.showFieldMsg('manager','Low impact response time can be one week','info');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-23-2023 04:19 AM
HI @Community Alums ,
I trust you are doing great.
Please find the below code for the same.
function onChange(control, oldValue, newValue, isLoading) {
if (isLoading || newValue === '') {
return;
}
// Assuming 'manager' is the field name of the Manager field
if (g_form.getValue('manager') === '') {
// Displaying an error message
g_form.showFieldMsg('manager', 'Please select a manager.', 'error');
} else {
// Clear any existing messages if the manager is selected
g_form.hideFieldMsg('manager');
}
}
Was this answer helpful?
Please consider marking it correct or helpful.
Your feedback helps us improve!
Thank you!
Regards,
Amit Gujrathi