최근 검색


최근 검색 없음

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


댓글을 남기려면 로그인하세요.

원하는 정보를 못 찾으셨나요?

새 게시물