Category / Section
How to Change the 'Create Ticket' Label in the Customer Portal
1 min read
Updated:
You can rename the “Create Ticket” labels on the ticket creation page of the customer portal.
To do so, go to Admin > Customer Portal > Customization > Custom JS and paste the following custom JS code.
Custom JS Code
Here is the custom JS code:
const createTicketButton = document.querySelector('#createTicket span');
if (createTicketButton) {
createTicketButton.innerText = 'Submit Request';
}
const createTicketMobileButton = document.querySelector('#popupCreateTicket div');
if (createTicketMobileButton ) {
createTicketMobileButton.innerText = 'Submit Request';
}
This will change the Create Ticket to Submit Request, and you can replace ‘Submit Request’ with any label you prefer. For example: ‘Contact Support’, ‘Open a Case’, ‘New Inquiry’, etc.
Pasting the custom JS code
To learn where to paste the above custom JS code, refer to this article.