g_form.showErrorBox validation not working

shivanki1
Mega Expert

Hi All ,

We have upgraded our instance to Jakarta patch 4 and it seems the function g_form.showErrorBox() does not work anymore here .

The Error message used to get displayed earlier but now after the upgrade the function does not work.

Can someone help here . Please its urgent .

Thanks in Advance.

Regards,

Shivanki

1 ACCEPTED SOLUTION

Hi Shivanki,



It works for me.



g_form.showErrorBox("assigned_to","This is the error");


You can also use...


g_form.showFieldMsg("assigned_to","This is the error","error");


Thanks,


Berny


View solution in original post

9 REPLIES 9

I should perhaps have clarified that i tried it out in a Jakarta instance. So.. yes Shivanki, it does work in Jakarta



Thanks,


Berny


I hope this helps


bernyalvarado
Mega Sage

Hi shivanki, do you have any further questions?



If not, would you mind marking the responses as correct / helpful so that we can close this thread?



Thanks,


Berny


Thanks for the reply!



yeah I figure out there was an error in the other part of code. It works perfectly.


alexaria
Tera Contributor

moving clearValue before showErrorBox fixed my problem.