Fetch the priority field value

SNOW46
Tera Contributor

Hi All.

Can anyone suggest me how to get the value of priority field on incident form with the help of   client script?

7 REPLIES 7

harshinielath
Tera Expert

var priority=g_form.getValue('priority');


I want to know where should I declare this var?


In which type of Client Script i.e., onload(),onChange(), or onSubmit(). And how the value will get populated?


HI What is your requirement?



This depends on that totally.



Do you want to fetch value once the form load or Onchange of any field or When you want to submit the form



Thank You,


Ashutosh


Ashutosh Munot1
Kilo Patron
Kilo Patron

HI Gourav,



You have to use


g_form.getValue('priority');



This will give you the value;



Thank you,
Ashutosh