Announcements
No record found.
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
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
Thanks, just realized those buttons don't appear for end-users when it is resolved, so no JS needed.
I want to add these buttons in my portal. Can you please explain me how to add these buttons .
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
ScottDurow 2
GJones 1