Ricerche recenti


Nessuna ricerca recente

adding a hint to the ticket CC field

Con risposta


Data ultimo post: 11 gen 2024

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 commenti

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


Accedi per aggiungere un commento.

Non hai trovato quello che cerchi?

Nuovo post