- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2024 12:59 PM
Hi: I want to be able to hide the Close Complete button on the RITM form when the state changes to Closed incomplete. I tried this but it didn't work:
I don't get the alert 2 popup. Any idea? Thank you!
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-05-2024 08:03 AM
@ritaaudi If you dont mind, can you mark my response as correct where I suggested to create the UI action.
Please mark this response as correct or helpful if it assisted you with your question.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2024 01:06 PM
If the script works, then the only change i would recommend is changing the client script to a OnChange Client script with field name as state, which will trigger the client script. onLoad client script only runs when the form load.
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2024 01:07 PM
Sorry I made it onload for easy testing. Script is not working: " $$ is not a function function () { [native code] }"

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2024 01:20 PM
Looks like you can utilize a UI policy for this. Can you refer the solution in below thread.
Please mark this response as correct or helpful if it assisted you with your question.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎04-02-2024 01:23 PM
I tried UI Policy too but it is also erroring on the $$
Thanks