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

답변함

5 댓글

  • 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");
    0
  • Ifra Saqlain
    Community Moderator

    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

    Team

    0
  • Jonathan Cavey

    Thank you so much !!!

    0
  • 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? 


    0
  • Michael Froeming
    Zendesk Customer Advocate

    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-.

    Best,

    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

    0

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

Zendesk 제공