Vor Kurzem aufgerufene Suchen
Keine vor kurzem aufgerufene Suchen

Katie Sullivan
Beigetreten 07. Juni 2022
·
Letzte Aktivität 28. Feb. 2025
Folge ich
1
Follower
0
Gesamtaktivitäten
13
Stimmen
4
Abonnements
6
AKTIVITÄTSÜBERSICHT
BADGES
BEITRÄGE
POSTS
COMMUNITY-KOMMENTARE
BEITRAGSKOMMENTARE
AKTIVITÄTSÜBERSICHT
Neueste Aktivität von Katie Sullivan
Katie Sullivan hat einen Kommentar hinterlassen
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
Kommentar anzeigen · Gepostet 21. Juni 2023 · Katie Sullivan
0
Follower
0
Stimmen
0
Kommentare
Katie Sullivan hat einen Kommentar hinterlassen
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!
Kommentar anzeigen · Bearbeitet 25. Mai 2023 · Katie Sullivan
0
Follower
2
Stimmen
0
Kommentare
Katie Sullivan hat einen Kommentar hinterlassen
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
Kommentar anzeigen · Gepostet 19. Aug. 2022 · Katie Sullivan
0
Follower
0
Stimmen
0
Kommentare