Recent searches
No recent searches

Katie Sullivan
Joined Jun 07, 2022
·
Last activity Feb 04, 2025
Following
0
Followers
0
Total activity
12
Votes
3
Subscriptions
6
ACTIVITY OVERVIEW
BADGES
ARTICLES
POSTS
COMMUNITY COMMENTS
ARTICLE COMMENTS
ACTIVITY OVERVIEW
Latest activity by Katie Sullivan
Katie Sullivan commented,
If you're just looking to increase the height of the dropdowns on the submit a request page, you can add the following to the style.css in the standard Copenhagen theme:
.nesty-panel {
max-height:300px!important;
}
As stated above, the default is 150px
View comment · Posted Jun 21, 2023 · Katie Sullivan
0
Followers
0
Votes
0
Comments
Katie Sullivan commented,
Here's a simpler way to enforce that users upload an attachment before submitting a request. These changes should be added to the script.js.
1. Disable the submit button on the form you wish to enforce attachment upload.
const button = document.querySelector('[value="Submit"]');
button.disabled = true;
2. Change the attachments default label to let the user know an attachment is required.
$('label[for="request-attachments"]').html('Attach file template to proceed.');
3. Add an event listener to the attachments area to detect changes, and only enable the submit button (and change warning text) if there is at least one file attached.
document.getElementById('request-attachments').addEventListener('change', function(event) {
var fileInput = event.target;
var fileCount = fileInput.files.length;
if (fileCount > 0) {
attachmentLabel.text("Attachments");
button.disabled = false;
}
});
Here's how it looks on the submit a request page, before and after attachment upload:
Before:
After:
Hope this helps someone else!
View comment · Edited May 25, 2023 · Katie Sullivan
0
Followers
2
Votes
0
Comments
Katie Sullivan commented,
Please let me know if anyone has found a workaround for this, or if this is a planned Zendesk feature. We want to be able to automate followups on side conversations
View comment · Posted Aug 19, 2022 · Katie Sullivan
0
Followers
0
Votes
0
Comments