주 콘텐츠로 건너뛰기

Embedding Department Forms

Department Forms에서
저자 리스트
발표됨: 2021년 9월 21일|최종 업데이트됨: 2021년 10월 19일

You can embed a Ticket form to allow Users to submit Tickets from your website, without need to use the Deskpro Help Center.

To do this you will need to add some Javascript code to your website. If you are unsure how to do this, please contact your website administrator for help.

Embedding a Form Copy link to Embedding a Form to clipboard

  1. Go to Ticket Structure > Departments. Click onto a Department and the left hand pop up window will have a tab called Website Embed

embed form

  1. Select the Brand, you can also optionally set the department, otherwise the User will be required to choose a Department.

  2. Select the width (in pixels) that the form should fill on your web page.

  3. Click Generate Code.

  4. In the box that appears, select all of the Javascript code and add it to your web page wherever you want the form to appear.

Warning


Some ‘site builder’ services may not allow you to insert the Javascript required to embed the form Widget.

You can use the ability to specify a Department to put the most relevant forms on each area of your site; for example, you could embed a form for the Support Department on the Support section of your website, but a form for the Sales Department on a page that lists your products.

Creating a Custom Form Copy link to Creating a Custom Form to clipboard

As an alternative to the Javascript form embed you can use the Deskpro API to submit a Ticket from an HTML form. This requires basic web development skills.

This can be useful if the Javascript form doesn’t suit your needs - for example, you want to make a single form that submits information to Deskpro and a different service.

See the API documentation for details.

See our Github account for a worked example of how to implement a ticket form in PHP using the Deskpro PHP SDK.

도움이 되었습니다도움이 되지 않음
다음 페이지Status Types
이전 페이지Conditional Fields and Ticket Form Layout

댓글을 작성하려면 로그인하거나 등록하셔야 합니다.