- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-23-2019 07:53 PM
So, it is like I have 1 category and 5 subcategory, each element in subcategory have a different value (1 or 2 or 3, it just like urgency and impact but it is subcategory) and these wil be used to calculate the priority field. I'm new to SN so I don't know much, How should I do it? Thank you.
If possible, may you show me how should I do it in detail? Like where to go, coding.. etc
Thanks
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2019 09:57 PM
Here is the screenshot for your reference
Mark correct and helpful if this solves.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-25-2019 12:16 AM

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2019 08:58 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2019 08:03 PM
Hi, tk.
I'm doing this and i'm wondering how should I do sth like this?
I want it so when I chose the category = Test001 and impact == 1 so the prority equal 1 as well.
Sth like this, how should I make the final code work? I donno much about java script.
thank you very much

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2019 09:48 PM
Hi,
To check the category as Test001 and impact as 1 use the following if condition in your onchange function
if (newValue == "Test001" && g_form.getValue("impact")==1) {
g_form.setValue("priority",1);
}
Mark correct and helpful if this solves.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎01-24-2019 08:06 PM
I'm doing this and i'm wondering how should I do sth like this?
I want it so when I chose the category = Test001 and impact == 1 so the prority equal 1 as well.
Sth like this, how should I make the final code work? I donno much about java script.
thank you very much
Thanks, I got it.
2 more question, how should I use category and subcategory to chảng the priority pls? I tried the script above but i did't work, here is my code:
And if I create another field (EX: field [important] of Category and [important] of subcategory) how should I do to get the average of these [important] field?
I plan to set them as all number running from 1-5, and their average value shall be use to calculate the priority field.
I cannot get the category and subcat to 1-5 number since I have plan for them, how should I do?
tks very mucjh.