Fetch the priority field value
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2017 07:03 AM
Hi All.
Can anyone suggest me how to get the value of priority field on incident form with the help of client script?
- Labels:
-
Incident Management
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2017 07:07 AM
var priority=g_form.getValue('priority');
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2017 10:50 PM
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?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-30-2017 10:54 PM
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

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-28-2017 07:08 AM
HI Gourav,
You have to use
g_form.getValue('priority');
This will give you the value;
Thank you,
Ashutosh