最近搜索


没有最近搜索

adding a hint to the ticket CC field

已回答


已于 2024年1月11日 发布

Hi all,

We have enabled the CC function for our End-users as the pool of users is restricted for this particular instance. I am trying to figure out how to add a comment/hint below this field for additional guidance. I've seen some code for adding email CC but nothing for the Ticket CC field.
thanks in advance,

Michael


0

2

2 条评论

image avatar

Brandon Tidd

Zendesk LuminaryUser Group LeaderThe Humblident Award - 2021Community Moderator

Hey Michael McMeekin -

This should work for you:

$(document).ready(function() {
  // Find the CC field by its class or ID. This might change depending on your Zendesk theme.
  var ccFieldSelector = '.ticket-ccs';
  
  // Create a new hint element
  var hintElement = $('<div class="cc-hint">Add CCs by typing email addresses here, separated by commas.</div>');

  // Style your hint element as needed with CSS here or in your stylesheet
  hintElement.css({
    'font-size': '12px',
    'color': '#666',
    'margin-top': '5px',
    'line-height': '1.4',
  });

  // Append the hint element after the CC field
  $(ccFieldSelector).after(hintElement);
});

0


image avatar

Stephan Marzi

Zendesk Luminary

Hi Michael,

I also managed to get details or fields filled by using the Knots Studio (knots.io). We are adding departure codes or other information like agent name or somethin by parsing it to the ticket field.

For further information do not hesitate in contacting me.

Regards, Stephan

0


请先登录再写评论。

找不到所需的内容?

新建帖子