最近の検索
最近の検索はありません
Hiding attachment/system fields on ticket form
回答済み
投稿日時:2016年2月29日
Our workflow means that we have a few different ticket forms.
Not every ticket form requires a attachment, subject or description, so I need a way to hide these 3 fields but only on certain forms.
I do understand that this is not possible on Zendesk, but am thinking there must be a way to do this with coding.
Could anyone offer some example code where they have managed this? Or any tips?
Zendesk - this is something massively lacking. I hope the ability to do this will be implemented soon.
2
32
32件のコメント
Devan La Spisa
On Wednesday, February 5, from 10:00am-12:00pm CST, we'll have a special guest team of experts on hand to answer your questions about Support: Triggers and Email Workflows in your Zendesk Support instance for an AMA-style conversation!
Just click the "new post" button and write up your question. Be sure to be as detailed as possible. The best questions include:
Questions posted to this topic in advance of the start time will be answered first thing on the 5th, so if you've got something you want our experts to look at, post it today!
0
Mike Zimmer
I am not a programmer, so I'd like to ask for some help in the community. I tried using the code snip that Kristin posted 3 years ago, but it is not working for me. I copied it below and adapted to one form only:
//Form Submit
$(document).submit(function() {
//set a string to equal the custom field value
var subjectstring1 = $("#request_custom_fields_360026456434").val();
//set subject to equal a string including field value string
$('#request_subject').val("Request Received From " + subjectstring1);
});
//End Form Submit
In the past few years, has the format changed? Can you see anything wrong with this code?
0
Nicole Saunders
Thanks for pointing that out, Mostafa.
0
Mostafa khalil
An alternate nice approach is documented at this KB article.
0
Jessie Schutz
Hi Edward! Welcome to the Community!
You can access the code for your Help Center by going to your Guide Admin tools (upper right corner of the screen when you're in your Help Center). Click the eye icon in the sidebar that appears on the left side of your screen; this will take you to the Theming Center. Click on the theme you wish to edit, then click the button with the three dots at the top of the sidebar and click edit code. This will show you a list of any assets you've uploaded to your Help Center, as well as your HTML templates and you JS and CSS scrips. Scroll to the bottom and click on script.js.
Bear in mind that the ability to customize your Help Center code is only available if you're on Guide Professional. If you're on Guide Lite you won't be able to customize your theme.
0
Ed Hass
How do you get to the JS tab, I cant see it on the admin page
0
Jennifer Zou
Anyone knows how to make a optional field required based on the selection of dropdown field? Something like:
0
Coty Inc.
hi Trapta, thank you very much !
I have figured this out and it works well :)
Mix up with the field id before.
0
Trapta Singh
@Bertrand Bazin,
Try using this code -
Let me know how it goes for you.
Thanks
0
Trapta Singh
@Huong-Ly Dang,
Try using this code -
Let me know how it goes for you.
Thanks
0
この投稿のコメント欄は閉じられています。