- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2017 06:38 AM
I'm trying to hide two UI actions when the state is either closed complete or closed incomplete. If the state is either of these values I don't want the buttons to show up on the form. I added conditions to the UI actions but this will only hide the button if the form is in that state and not hide both buttons. Any suggestions? I've tried UI policies and client scripts but so far nothing is working properly.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2017 06:49 AM
Hi Matt,
Your Condition should be like :
current.state!=<value for Closed Complete> && current.state!=<value for Closed Complete>
Please replace the values and use it in condition
Thanks,
Arindam
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎08-23-2017 06:59 AM
The reason it wasn't working properly, I was using an || statement in the condition when checking both states and not &&. Now it works properly.
Thanks,
Matthew Strecker