- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2024 05:16 PM
Hello,
I need your help on hiding an UI Action button when Approval field is showing "Rejected"
Here is what I got, but it did not hide the button. Thank you
current.cat_item == '43fee0ed8779c65015faa93e3fbb351d' && approval !='Rejected';
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2024 05:40 PM
Try changing the condition to the following:
current.getValue('cat_item') == '43fee0ed8779c65015faa93e3fbb351d' && current.getValue('approval') == 'requested';
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2024 05:40 PM
Try changing the condition to the following:
current.getValue('cat_item') == '43fee0ed8779c65015faa93e3fbb351d' && current.getValue('approval') == 'requested';
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2024 06:57 PM
Hello @Erica2 ,
It may seem to be the string of your approval field, and you don't need a semi-colon ';' ..... try this changing your condition to this :
current.cat_item == '43fee0ed8779c65015faa93e3fbb351d' && current.approval != 'rejected'
If this has been of any help, please mark as solution and give a thumbs up. Thank you!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-13-2024 07:00 PM
Hey @Erica2 ,
This might be due to your string of the approval field and semi-colon, so try changing your condition to this one:
current.cat_item == '43fee0ed8779c65015faa93e3fbb351d' && current.approval !='rejected'
If this has been of any help, please mark as solution and give a thumbs up. Thanks!
Zack