Editing 'Description shown to end users' for Description field per ticket form



  • Jonathan Cavey

    I have found this on how to change the title of the field. 
    But not the description like I am seeking. 

    $('label[for=request_subject]').html("Custom Subject");
    $('label[for=request_description]').html("Custom Description");
  • Ifra Saqlain
    Community Moderator
    Most Engaged Community Member of The Year - 2021

    Hi Jonathan,

    So you can check Ticket ID and change the description like:

     $(document).ready(function (){
    // Ticket X
    if(window.location.href.indexOf('2999') > -1){ // 2999 is the ticket id which you would get from your window location (Searchbar)
    $("#request_description_hint").html('Custom description for read');

    // Ticket Y

    if(window.location.href.indexOf('3999') > -1){ // 3999 is the ticket id which you would get from your window location (Searchbar)
    $("#request_description_hint").html('Custom description for read');

    Reference from:  https://stackoverflow.com/questions/43784700/javascript-using-if-statement-for-multiple-conditions-vs-switch-case


  • Jonathan Cavey

    Thank you so much !!!

  • Jonathan Cavey

    Hello Ifra, 

    I would now like to edit my subjects hint field, I tried following the same convention as above and replacing 'description' with 'subject' but that did not work. 
    Do you know how to do this? 

  • Michael Froeming
    Zendesk Customer Care

    Hi Jonathan,

    Looks like this question is answered by one of our community moderators in this post: https://support.zendesk.com/hc/en-us/community/posts/360037440134-How-to-change-the-name-of-the-subject-field-in-the-ticket-forms-.


    Michael Froeming | Senior Customer Advocacy Specialist

    NEW - Zendesk offers free, on-demand training for all of our products. Set up your account and start learning today at training.zendesk.com

  • Raphaël Péguet

    It took me a lot of time to figure out the right way to input a different description for the description field than the original one so I put it here. (can be useful for those that have several brands and want to put a different description for each brand. Has to be put in new_request_page

        $("#request_description_hint").html (' <div class="hero-headline"> {{dc 'footer__cc-tel'}} </div>');



Please sign in to leave a comment.

Powered by Zendesk