Answered

How do I create an HTML ticket form on a website

Hi guys


I make wordpress plugins and want to include a ticket submission form in the backend.  I don't want to install any javascript on their sites, so this would need to be done using a HTML form.


Is that possible? If so, how do I do it?


Thanks


Best Answer

This is how it usually works: FreshWidget.init("", {"queryString": "&widgetType=popup&screenshot=no&helpdesk_ticket[requester]=abd@applepie.com&helpdesk_ticket[subject]=How%20to%20do%20this", "widgetType": "popup", "buttonText": "Support", "buttonColor": "white", "buttonBg": "#006063", "backgroundImage": "", "alignment": "4", "offset": "-500px", "formHeight": "500px", "url": "https://abc.freshdesk.com"} );


helpdesk_ticket[subject] will let you set the title of the ticket(make sure it's in URA format). Hope this helps :)


2 people have this question

Hi Chris,

You can create any HTML form of your choice but on the backend,you can make use of our API to submit ticket details with Name, Email etc of the User.

You can refer here for some info on the API. www.freshdesk.com/api

regards
Vijay

Hi, where exactly in the API docs does it show how to submit a ticket? I only see read ticket information.


Also, wouldn't it be simpler to create an HTML form that simply sends email to my freshdesk email?


Thanks

Hi,

Also looking for this feature... The Widget tool is OK in some circumstances, but we need to add a standard HTML form to our clients site that fires custom fields directly into a ticketing system. Freshdesk is preferred, but we are looking at others too.

Please let us know if this is possible?

Many thanks

 

Hi,

I have the same question.  Perhaps an update/links to solutions.

Thank you,
Paul

 

Hi,

I found this article useful but it puts a "button" on the left, right, top or bottom of a page. I would like to put a form on the page.
https://support.freshdesk.com/support/solutions/articles/37690-getting-feedback-from-your-website-with-the-feedback-widget-

 


Hi 


In the API, there is no precision to set the title of the ticket, is it possible ?

Answer

This is how it usually works: FreshWidget.init("", {"queryString": "&widgetType=popup&screenshot=no&helpdesk_ticket[requester]=abd@applepie.com&helpdesk_ticket[subject]=How%20to%20do%20this", "widgetType": "popup", "buttonText": "Support", "buttonColor": "white", "buttonBg": "#006063", "backgroundImage": "", "alignment": "4", "offset": "-500px", "formHeight": "500px", "url": "https://abc.freshdesk.com"} );


helpdesk_ticket[subject] will let you set the title of the ticket(make sure it's in URA format). Hope this helps :)

Only problem with that approach is that is slows down the page loading time. It is really a shame that it is all or nothing.


With an iframe I don't have much control over the styling apart from the very limited parameters.