Clearing mandatory fields
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2014 01:27 AM
Hi,
We have various hidden fields that become active and mandatory on certain status changes (resolved, assigned to 3rd party etc) if someone has selected the status by mistake when they switch to the correct status the fields stay mandatory and the user has to come out of the ticket without saving and go back in. Any ideas on how to resolve this?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2014 03:20 AM
Ohh k got it.
Please create the "UI Policy" on incident form with the attached screenshot for your reference
Also have the same "execute if true" script in "execute if false" condition and under "UI policy action" add close notes and close codes as mandatory,visible to be true.
Please let me know if it solves your issue.
Thanks
Pradeep Sharma

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-13-2014 03:04 AM
As a workaround, you can write one onchange client script on field State. If state changes to something other than Resolved, make those fields non mandatory
g_form.setMandatory('close_notes', false);