Recherches récentes
Pas de recherche récente

Katie Sullivan
Adhésion le 07 juin 2022
·
Dernière activité le 28 févr. 2025
Suivis
1
Abonnés
0
Activité totale
13
Votes
4
Abonnements
6
APERÇU DES ACTIVITÉS
BADGES
ARTICLES
PUBLICATIONS
COMMENTAIRES DE LA COMMUNAUTÉ
COMMENTAIRES SUR L’ARTICLE
APERÇU DES ACTIVITÉS
Dernière activité effectuée par Katie Sullivan
Katie Sullivan a ajouté un commentaire,
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
Afficher le commentaire · Publication le 21 juin 2023 · Katie Sullivan
0
Abonnés
0
Votes
0
Commentaire
Katie Sullivan a ajouté un commentaire,
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!
Afficher le commentaire · Modification le 25 mai 2023 · Katie Sullivan
0
Abonnés
2
Votes
0
Commentaire
Katie Sullivan a ajouté un commentaire,
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
Afficher le commentaire · Publication le 19 août 2022 · Katie Sullivan
0
Abonnés
0
Votes
0
Commentaire