Field should be made mandatory if state is in progress and it should not be mandatory if changes i
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-13-2024 11:02 PM
Hi Team,
Please help me to find a solution. There is a field name call mitigated and it should be made mandatory when the state is changed to inprogress. I have written an onload script for this. Now when the assignment group is changed in inprogress state then the mitigated field should not be mandatory and once it is changed it should be mandatory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2024 04:32 PM
This sounds like it would be way easier to do with a UI Policy.
UI Policy:
- Condition: When State = In Progress
- Reverse if False = True
UI Policy Action:
- Field: "mitigated"
- Mandatory = True
- Read Only = Leave Alone
- Display = Leave Alone
No scripting needed. Automatically reverses itself.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-14-2024 07:48 PM
Hi Rob,
Thank you for your reply. But the problem there is when I tried to change the assignment group it is still mandatory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-15-2024 05:09 AM
Hi @maharshi_v ,
I fully agree with @Uncle Rob - a UI Policy would be much easier to work with instead of a on load client script.
if my answer has helped with your question, please mark my answer as accepted solution and give a thumb up.
Best regards
Anders
If my answer has helped with your question, please mark my answer as the accepted solution and give a thumbs up.
Best regards
Anders
Rising star 2024
MVP 2025
linkedIn: https://www.linkedin.com/in/andersskovbjerg/