Can I hide a ticket form from end users?

Return to top
Have more questions? Submit a request

6 Comments

  • Joshua Bentley

    Thanks, Norman! What if I want end-users to be able to use the form but not see it as a drop-down option. Example: we want to link users to a form specific to their product. Is there a way to do that without having it show in the drop-down?

    Thanks in advance!

    0
  • JJ
    Zendesk Customer Advocate

    Hello Joshua,

    Please note that this natively, from the Zendesk UI, unfortunately, would not be possible.

    Either we can enable it, and the end-users can see it both in the drop-down and following a link, or not at all.

    You could, however, try to remove the drop-down with a JS entry like:

    $("#TICKET_FORM_ID").remove();

    Just note, Zendesk does not support or guarantee the code.

    Zendesk also can't provide support for third-party technologies such as JavaScript, jQuery, or CSS.

    I would also advise you that this is done by somebody who has experience with HTML, CSS and JS.

    For more info:

    How can I hide ticket forms based on a user's organisation

    How can I restrict ticket forms based on the customer's language

    Hope that helps!

    0
  • Joshua Bentley

    Thanks, @...!

    I'm going to be investigating a separate solution to allow multiple forms without the user having to choose which form they want to use.

    Thank you!

    0
  • Kevin O'Kane

    Hi Joshua Bentley

    Did you manage to find a solution to this? I want end-users to be able to use a form (via a link) but not see it as a drop-down option.

    Thanks!

    0
  • Joshua Bentley

    Hi, Kevin O'Kane - not yet. I'm going to work with a site developer that is a bit more familiar with CSS, JS, etc. to see if he can figure something out. 

    Still bummed this isn't something we can't do out of the box.

    0
  • Kevin O'Kane

    Hi Joshua Bentley. The following code works. Just add it to the JS code and replace "[form ID]" with the actual form ID you want to hide.

    $('#request_issue_type_select option[value="[form ID]"]').remove();
    $('.nesty-panel').on('DOMNodeInserted', function(e){
    $(this).children('ul').children().remove('#[form ID]');
    });

     

    Hope that helps!

    0

Please sign in to leave a comment.

Powered by Zendesk