How to g_form.showFieldMsg(); above the variable rather than below?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2016 08:21 AM
As of now, I have been trying to use a onChange catalog client script to only show a message above a field when a certain question choice is selected. Lets call the question choice 'x' and the variable to show the message is 'y'.
So...
function onChange(control, oldValue, newValue, isLoading) {
if(choice == 'x'){
Show message above 'y';
}else{
Don't show the message;
}
}
I can g_form.hide/showFieldMsg(); but it places the message below the variable. I need it to be above.
Please let me know if there are any easy ways to do this first.
Thanks,
Nick
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-01-2016 10:26 PM
There is no oob methods available to show messages on top of fields/variables.
UI Info and Error Message Cheat Sheet - ServiceNow Guru