g_form.getValue('') is not working

vimal11592
Tera Expert

Hi,

I am trying to read form values using following code in UI page client script:

var g_form=new GlideForm();

var botType = g_form.getValue("x_14768_catalyst_bot_type");

Above code was working with Istanbul but after upgrading to Jakarta it is not returning any value.

Can someone please suggest me any other was to read the incident table data in UI Page client script.

Thanks,

Vimal

2 REPLIES 2

Kalaiarasan Pus
Giga Sage

var botType = g_form.getValue("x_14768_catalyst_bot_type"); alone would work. You don't need to initialize a object for g_form.


vimal11592
Tera Expert

Hi Kalaiarasan,



Thanks for the reply.



I was getting error g_form is not define so needed to initialize g_form.




Thanks,


Vimal