When the case is resolved, I want to hide the Close case, Cancel case buttons on the form. How do I do this in portal? Is there a config setting or does it require javascript?
*This post is locked for comments
When the case is resolved, I want to hide the Close case, Cancel case buttons on the form. How do I do this in portal? Is there a config setting or does it require javascript?
*This post is locked for comments
I want to add these buttons in my portal. Can you please explain me how to add these buttons .
Thanks, just realized those buttons don't appear for end-users when it is resolved, so no JS needed.
Hi LearningCRM,
As you see in screenshot below, the case information form includes the 3 buttons at its bottom is a whole element and is loaded dynamically.
Thus a timer is needed to grab the button elements,
we could instead simply hide those buttons with CSS rules, so javascript is not necessarily required.
1. The partial URL has a path name /edit-case/, so we can find it in Web Page > Web Template
2. There is already a style tag in source code(if not, just add it), so we just paste CSS rule below:
Result:
However, in my opinion, your employees or account users may lost access to manage to close or cancel their case,
so you could add custom JS code on same web template to check any condition before you decide to hide them.
Regards,
Clofly
Stay up to date on forum activity by subscribing. You can also customize your in-app and email Notification settings across all subscriptions.
André Arnaud de Cal... 291,280 Super User 2024 Season 2
Martin Dráb 230,214 Most Valuable Professional
nmaenpaa 101,156