Disabling the subject and description fields on the new request form in Help Center Follow

Disclaimer: This article is provided for instructional purposes only. Zendesk does not support or guarantee the code. Zendesk also can't provide support for third-party technologies such as JavaScript, jQuery, or CSS. Please post any issues you have in the comments section or try searching for a solution online.

Question

How can I hide or remove the subject and description fields on the submit a request form in Help Center?

Answer

It is not possible to hide the subject and description from the Help Center new request form as they are required system fields needed for tickets to be created. You could however use Javascript or jQuery to autofill and hide these fields. An example of this would be:  

 
$('.form-field.request_subject').hide(); // Hide subject
$('.form-field.request_description').hide(); // Hide description
$('#request_subject').val('test subject'); // autofill subject  $('#request_description').val('test description'); // autofill description



Screen_Shot_2017-02-13_at_2.55.22_PM.png

Have more questions? Submit a request

Please sign in to leave a comment.

Powered by Zendesk