Recent searches


No recent searches

Hiding attachment/system fields on ticket form

Answered


Posted Feb 29, 2016

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 comments

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


image avatar

Devan La Spisa

Zendesk Community Manager

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: 

  • What it is you're trying to do
  • What you've tried so far 
  • Any other context or relevant information
  • Screenshots, if you have them

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


Post is closed for comments.

Didn't find what you're looking for?

New post