Articles in this section
Category / Section

How to Set Default Text in BoldDesk Ticket Description Field

Updated:

The Description field in BoldDesk’s Customer Portal ticket creation form is a system-mandatory field that cannot be hidden or left blank. If you want customers to submit tickets without typing a description, you can pre-fill this field with default text using Custom JavaScript in the Customization section of the Customer Portal under the Admin module.

This customization ensures:

  • Customers can submit tickets quickly.
  • The Description field remains editable for additional details.

Prerequisites

  • Administrator access to BoldDesk.
  • Active Customer Portal for your brand.

Steps to Add Default Text in Description Field

1. Navigate to Customization

  • Go to Admin → Customer Portal → Customization.

2. Add Custom JavaScript

  • Paste the following script in the Custom JS editor and click Save:
const intervalId = setInterval(() => {
 var des = document.querySelector('#descriptions');
 if (des) des.ej2_instances[0].value = "Your content";
 clearInterval(intervalId);
}, 500); 

Expected Behavior

  • The Description field will display your default text when the ticket form loads.
  • Customers can submit the form without typing anything or add extra details if needed.

Before Adding Custom JS

Before adding JS.png

Adding Custom JS

After_Custom_JS.gif

After Adding Custom JS

After adding Custom JS.png

Use Cases

  • Faster ticket submission for customers.
  • Provide guidance by adding a helpful prompt.
  • Maintain consistency across all ticket submissions.

FAQs

1. Where do I add the script?
In Admin → Customer Portal → Customization → Custom JS.

2. Can I hide the Description field?
No, it is a system-mandatory field.

3. Can I make the Description field uneditable?
Yes, using additional JS/CSS, but it’s not recommended.

4. Will updates break the script?
Selectors may change; review after updates.

Related Articles

How to Configure Customer Portal Settings
How to Restrict Editing of Subject and Description in the Customer Portal

Was this article useful?
Like
Dislike
Help us improve this page
Please provide feedback or comments
Comments (0)
Access denied
Access denied