Hide the Stay on Page Option in the Customer Portal Ticket Creation Form
The Stay on page checkbox appears in the Customer Portal ticket creation form next to the Create and Cancel buttons. If you do not want customers to see this option, you can hide it by adding a custom CSS rule to the Customer Portal.
This article explains how to hide the Stay on page checkbox using Custom CSS in the Customer Portal customization settings.
Hide the Stay on Page Checkbox
To remove the Stay on page checkbox from the Customer Portal ticket creation form:
-
Go to Admin > Customer Portal.
-
Open the Customization tab.
-
In the Advanced Customization section, locate Custom CSS.
-
Click Add Custom CSS.
-
In the Add Custom CSS window, paste the following code:
#stay-on-page\=check-box {
display: none !important;
}
#stay-on-page\=check-box ~ .e-frame,
#stay-on-page\=check-box ~ .e-label {
display: none !important;
}
- Click Update to save the custom CSS.
After the changes are saved, refresh the Customer Portal to verify that the checkbox is no longer displayed in the ticket creation form.
Before Customization
The Stay on page checkbox is displayed next to the ticket submission buttons.
After Customization
The Stay on page checkbox is hidden from the ticket creation form.
Verify the Customization
After saving the CSS:
- Open the Customer Portal.
- Navigate to the Create Ticket page.
- Confirm that the Stay on page checkbox is no longer visible.
- Create a test ticket to verify that the ticket submission process works as expected.
Permission
To update Customer Portal customization settings, the agent’s role must include the Manage settings permission.
Without this permission, the agent cannot access or modify the Custom CSS section.
Troubleshooting
The Stay on Page Checkbox Is Still Visible
Verify that the CSS was added under Admin > Customer Portal > Customization > Custom CSS.
After saving the changes:
- Refresh the Customer Portal.
- Clear the browser cache if necessary.
- Test again in an incognito or private browsing window.
Other Elements Near the Create Button Are Affected
Review any existing custom CSS configured for the Customer Portal. Another CSS rule may be targeting the same elements and causing a conflict.
The Checkbox Reappears After a Product Update
The Customer Portal markup or element selector may have changed after an update. Inspect the page element and update the CSS selector accordingly.
Frequently Asked Questions
-
Can I hide the Stay on Page checkbox in the Customer Portal ticket creation form?
Yes. You can hide it by adding a custom CSS rule in the Customer Portal customization settings. -
Where should I add the CSS?
Add the CSS under:
Admin > Customer Portal > Customization > Custom CSS
-
Does this remove the Stay on Page feature from BoldDesk?
No. The customization only hides the checkbox in the Customer Portal interface. The underlying feature remains available and is not removed from the system. -
Does hiding the checkbox affect ticket creation?
No. Hiding the checkbox does not affect ticket submission or any other ticket creation functionality.