最近搜索


没有最近搜索

Katie Sullivan's Avatar

Katie Sullivan

已加入2022年6月07日

·

最后活动2025年2月28日

Zendesk Luminary

关注

1

关注者

0

活动总数

13

投票

4

订阅

6

活动概览

的最新活动 Katie Sullivan

Katie Sullivan 进行了评论,

社区评论 Q&A - Help center and community

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

查看评论 · 已于 2023年6月21日 发布 · Katie Sullivan

0

关注者

0

投票

0

评论


Katie Sullivan 进行了评论,

社区评论 Discussion - Tips and best practices from the community

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!

查看评论 · 已于 2023年5月25日 编辑 · Katie Sullivan

0

关注者

2

投票

0

评论


Katie Sullivan 进行了评论,

社区评论 Feedback - Ticketing system (Support)

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

查看评论 · 已于 2022年8月19日 发布 · Katie Sullivan

0

关注者

0

投票

0

评论