Pre-populate ticket submission form field via query string (Help Center)


81 コメント

  • Thomas Verschoren
    Community Moderator


    This app on the marketplace allows you to prefill form fields with parameters.

    Even has a little sidebar app to generate the prefilled links as links or QR codes.

  • Blakelee Mills

    Adding my vote for ZenDesk to support this feature without the use of a paid-for app. 

  • Chad Hensley

    Another vote to have Zendesk natively support this feature.

  • Forrest Jacoby

    +1 here. Seven years is making Salesforce look nimble by comparison.

  • Anders Vännman

    I have given up on Zendesk adding any useful new features, like this one.


    If it wasnt for the fact they have the (in my opinion) best gui for IT helpdesk we would have left them for good. 

  • Maximilian Moehlenkamp

    Adding my vote too

  • Jason Taylor

    Another vote from me. 7 years for basic functionality contained in all other ticketing support platforms. Considering the premium Zendesk charge it's pretty poor no?

    Seems every thread I read on Zendesk support forms are full of customers asking for things, community managers saying they're chasing product, and then nothing else happening. 

  • davecole

    This request is 7 years old, we still need this. Why aren't Zendesk listening?

  • Anders Vännman

    They are earning too much money on a fairly good system, and got lazy and happy?

  • Alejandro Colon

    Nicole S.

    Can we get a Zendesk 2020 official response on this?

  • Benedict Appleby

    What a time saver for us this would be - currently about 6 or 7 clicks to achieve this. Multiply that by 100+ customers a day and that's a LOT OF CLICKING!!!

  • Liam McIlveen


  • Greg Sohl

    LOL - just read my comment on this topic, adding my support for this (very basic functionality) enhancement from 3 years ago!

  • Gaspard


    Here is my Javascript code I wrote and inserted on the page "new_request_page.hbs" to prefill the field "Subject", with the GET parameter "request_subject" :


    // Get all parameters
    $.urlParam = function(name){
    var results = new RegExp('[\?&]' + name + '=([^&#]*)').exec(window.location.href);
    return results[1] || 0;

    // Prefill form
    function prefill_form()
    document.getElementById("request_subject").value = decodeURI($.urlParam('request_subject'));

    window.onload = prefill_form;

  • davecole

    Gaspard This works great, I am however trying to pre-select a value from a drop down. I tried hacking your code a bit but I don't have the knowledge or skill.

    Can you make this work for this situation?



  • Thomas Verschoren
    Community Moderator



    The code below works for every field with the bold part replaced with the ID of the dropdown and the TAG of the field option

    $(document).ready(function() {
    /* Start QR */
    var getUrlParameter = function getUrlParameter(sParam) {
    var sPageURL =,
    sURLVariables = sPageURL.split('&'),

    for (i = 0; i < sURLVariables.length; i++) {
    sParameterName = sURLVariables[i].split('=');
    if (sParameterName[1] == "false"){$("#" + sParameterName[0]).prop("checked",false);}
    else if (sParameterName[1] == "true"){$("#" + sParameterName[0]).prop("checked",true);}
    else {$("#" + sParameterName[0]).val(decodeURIComponent(sParameterName[1]).replace(/\)\(/g, "<br/>"))};
    /* End QR */
  • Naomi Watnick

    Hi - What are the options for having this supported inherently by Zendesk?

  • Arthur Benhamou

    Holy ¨¨ 7 years??

  • Dovile Janule
    Zendesk Product Manager

    👋 We are looking for your valuable insights and perspectives. We’ve been thinking for a while about making our Web Form experience as valuable as possible for you. We think we’ve got some pretty good ideas but want to get your valuable opinion on how best to do it, based on your needs. Help us fill-in some of the blanks, by taking part in this quick survey 🙏

  • Steve Hope

    I was looking for this functionality today since I can do this using Wufoo forms / surveys! Looking forward to this.

    example: setting the request topic


  • Alan Canode

    +1. Today we sometimes find ourselves in the awkward position of posting a link to a form and also having to add a bunch of text instructions for how to fill out fields to make sure the ticket gets routed appropriately. (Or contributing to form bloat by creating a bunch of really specific forms.)



Powered by Zendesk