- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2017 06:24 AM
Hello Community,
I'm having an issue on my Change Task form. I am displaying fields on the change task that reside on the parent change record. So, when a task is generated, these fields are visible and mandatory. The problem is that the tab does not show the * on the tab to indicate the mandatory fields. I am using a UI Policy to make the fields mandatory. Any suggestions? See below..
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2017 07:39 AM
This page might have something you can use on it, specifically g_tabs2Sections.markMandatoryTabs();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2017 07:39 AM
This page might have something you can use on it, specifically g_tabs2Sections.markMandatoryTabs();
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2017 07:48 AM
Perfect. I was just toying around with that method earlier but I didn't have a defined list which is why I didn't know about markMandatoryTabs(). That does exactly what I need. Thank you sir!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2017 09:56 AM
It turns out that the g_tabs2Sections.markMandatoryTabs() is not running onLoad. I get the asterisk(*) once I modify a field, remove the value and click away from it. Then it recognizes that a field is mandatory on the tab, and the tab shows properly.
If I just load the page for the first time, there is still no indication that a tab has mandatory fields on it.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2017 07:41 AM
Are the fields on the Assessment tab also set mandatory by UI Policies? Perhaps the * on the tab only show when there are field mandatory by dictionary or dictionary override?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-18-2017 10:05 AM
Yes, they are set by UI policy.