Hide a field in RITM based of the selection in catalog view
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 07:09 AM
Hello,
I have selected in catalog view "No" and submitted and it did not auto populate the 'ID' field, which is correct because I did not select 'Yes' but on RITM it shows 'ID' field as mandatory. I'll attach a picture of my script and UI policy action as well, not sure what's causing this since I don't have anything mandatory for ID

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 07:59 AM
Do you have mandatory set to true on the variable itself?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 08:00 AM
No I do not, only visible is set to true. It's weird, because I've deleted and added the field, renamed it as well and nothing changes on the RITM form

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 08:06 AM
That is your UI Policy. I'm talking the variable itself. I you open the variable and you see the mandatory filed check that is causing the problem. You cannot hide a mandatory field. Example screenshot below.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-30-2024 08:18 AM
It is not set to mandatory