Editing 'Description shown to end users' for Description field per ticket form
Hello,
I would like to be able to change the 'Description shown to end users' for the mandated Description field per ticket form.
For instance, I would like Ticket Form 'X' to have the Description field read: "Please submit the details regarding 'X' here"
and for Ticket Form 'Y' to read: "Please enter all data pertaining to 'Y' in the above box"
I would like to accomplish this without creating a specific 'description' field for each form.
I have used the Guide Admin to auto populate and hide these fields (Subject & Description) on some forms before so I assume that this is possible.
Thank you in advance for any recommendations!
-
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");
-
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
-
Thank you so much !!!
-
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?
サインインしてコメントを残してください。
4 コメント