Is "g_form.showFieldMsg" accessible in Scoped applications?

anusha60
Kilo Expert

Hi Experts,

I am trying to use "g_form.showFieldMsg" in my scoped application, but for some reason it is not working.So I have a doubt whether this can be accessible in scoped application. Did anyone of you tried this in application scope and succeed (or) any alternate method to have same functionality.

Thanks,

Anusha.

1 ACCEPTED SOLUTION

Hi,



I am able to fix the concern.


In script I am trying to clear the field value after using the g_form.showFieldMsg. As per the conditions, I am not verifying if the field value is empty,so the field message is not shown their.



Thanks


Anusha.


View solution in original post

6 REPLIES 6

Pradeep Sharma
ServiceNow Employee
ServiceNow Employee

Hi Anusha,



g_form.showFieldMsg should work in scoped applications.


Please let me know if you have any questions.


Hi Pradeep,



I tried using in scoped application, but it is not working, can you try it once from your end and let me know.



Thanks


Anusha.


Hi Anusha,



I tried on my Geneva instance and it is working fine.


Are you getting any error?


I am trying it in Fuji instance.It is not displaying anything.But alert in place of 'g_form.showFieldMsg' is working as expected.whereas, it is working fine in Geneva instance for me too.



Thanks


Anusha.