How to disable the ticket form dropdown?

Answered

37 Comments

  • Ifra Saqlain
    Community Moderator
    Most Engaged Community Member - 2022
    Most Engaged Community Member of The Year - 2021

    David, you can set your specific form as default form via Admin Center and then remove the dropdown using the Sam's code.

    0
  • David

    Well, that simply creates a blank "Submit a Ticket" page.

    This is after I'm integrated: 

    $(document).ready(function() {
    $(".request_ticket_form_id").hide();
    });

     

    0
  • Ifra Saqlain
    Community Moderator
    Most Engaged Community Member - 2022
    Most Engaged Community Member of The Year - 2021

    Hey Devid, try this. You can set a form as default which you want and deactivate another which you don't want.

    https://support.zendesk.com/hc/en-us/articles/4408836460698-Managing-your-ticket-forms

     

    And then hide dropdown if needed.

    0
  • Morteza

    Hi Sam!

    The code you sent works but I think you missed a very important part that when clicked on "Submit a request", it should give a  specific form and not an empty page.

    Because right now, it just deletes the whole dropdown functionality, which is the goal here, but we would also like it to show one specific form to a specific end-user.

    Background and the problem:

    We have multiple ticket-forms but we have customized the view (js code) so that every ticket-form is shown to one specific organization. So, even though this is the case and there is only one ticket-form every time, there is a dropdown menu with only one ticket-form which is kind of unnecessary.

    Is there any way to do this and still show one specific ticket-form to different organization?

     

     

     

     

     

    0
  • Morteza

    "David, you can set your specific form as default form via Admin Center and then remove the dropdown using the Sam's code."

    Hi Ifra Saqlain, in that case, one has to delete all other forms that are in use. The whole idea is to get rid of dropdown menu because there are multiple hidden forms for other usage, shown to different organizations. 

    So, lets say that there are 3 forms A, B and C. And 3 different companies company1, company2 and company3.

    The forms are customized in a way that form A is only shown to company1, form B is only shown to company B and form C is shown to company3. The problem is that when you click on submit, there is still a dropdown menu, when you want different companies to land on their respektive forms and not get a dropdown menu despite having one form to show.

     

    1
  • Ifra Saqlain
    Community Moderator
    Most Engaged Community Member - 2022
    Most Engaged Community Member of The Year - 2021

    @Morteza, I think we can check organization via js code and then hide/show any field.

    0
  • Naomi Lewis

    I am in the exact same position as Morteza and would be very grateful if someone can provide a solution!

    We have set it up so a user's organisation determines the form they are shown, but we don't want them to have an additional step of selecting that single form from a dropdown.

    When only one ticket form exists, the user is taken directly to the ticket form when submitting a ticket, but now multiple forms exist, the dropdown comes up regardless of how many (or rather few) options are present. We are looking for a way to make it so the user is taken directly to the applicable form when they submit a ticket.

    0

Please sign in to leave a comment.

Powered by Zendesk