Ticket Request Form - generating suggested articles

1 Comments

  • Andrew Schreiner
    Comment actions Permalink

    I don't know of a way to do it via the template editing schema but you could simply use the search api and fire off an ajax request to the search on a keyup event. Pseudo code below

    $("#request_description").keyup(function(){

    $.ajax({

    url: "/api/v2/help_center/articles/search.json?query=" + $("#request_description").val(),

    type: 'GET',
    dataType: 'JSON',

    success: function(data)
    {
    //parse and display results of search
    }

    });

    });

    0

Please sign in to leave a comment.

Powered by Zendesk