{"id":75,"date":"2026-10-17T14:15:43","date_gmt":"2026-10-17T14:15:43","guid":{"rendered":"http:\/\/plugin-docs.com\/?post_type=doc&#038;p=75"},"modified":"2026-10-17T18:54:25","modified_gmt":"2026-10-17T18:54:25","slug":"add-standalone-support-ticket-form","status":"publish","type":"doc","link":"https:\/\/dragwyb.com\/docs\/add-standalone-support-ticket-form\/","title":{"rendered":"Add a Standalone Support Ticket Form"},"content":{"rendered":"<p>Use <code>[dctc_support_ticket_form]<\/code> when a page should focus on submitting a support request instead of showing the full customer ticket list and conversation portal.<\/p>\n\n<h2>Add the standalone ticket form<\/h2>\n<ol>\n<li>In WordPress, create or edit the page where customers should submit requests.<\/li>\n<li>Add a Shortcode block (or another supported shortcode area) and enter <code>[dctc_support_ticket_form]<\/code>.<\/li>\n<li>Publish or update the page, then open it on the frontend.<\/li>\n<li>Submit a test request using the same login or guest-access conditions intended for customers.<\/li>\n<\/ol>\n<p>The shortcode uses the Support Portal\u2019s form markup and frontend scripts. If guest ticket submission is disabled, a logged-out visitor is shown a login prompt instead of the form.<\/p>\n<h2>Optional shortcode attributes<\/h2>\n<p>The shortcode supports these attributes for adjusting the form presentation and launch behavior:<\/p>\n<table>\n<thead><tr><th>Attribute<\/th><th>Purpose<\/th><\/tr><\/thead>\n<tbody>\n<tr><td><code>inline<\/code><\/td><td>Use <code>true<\/code> to render the form inline instead of using the default trigger behavior.<\/td><\/tr>\n<tr><td><code>title<\/code> \/ <code>subtitle<\/code><\/td><td>Override the form heading and supporting text.<\/td><\/tr>\n<tr><td><code>button_text<\/code> \/ <code>button_class<\/code><\/td><td>Customize the trigger button label and CSS class.<\/td><\/tr>\n<tr><td><code>trigger_id<\/code>, <code>trigger_button_id<\/code>, <code>trigger_selector<\/code><\/td><td>Identify the page element that should trigger the form; use the option that matches your markup.<\/td><\/tr>\n<tr><td><code>category_id<\/code><\/td><td>Preselect an existing support category by its ID.<\/td><\/tr>\n<tr><td><code>show_header<\/code><\/td><td>Show or hide the form header using <code>true<\/code> or <code>false<\/code>.<\/td><\/tr>\n<\/tbody>\n<\/table>\n<p>For example, <code>[dctc_support_ticket_form inline=\"true\"]<\/code> requests inline form rendering.<\/p>\n<h2>Check access and submission<\/h2>\n<ul>\n<li>Confirm the Support Center module is enabled in <strong>Click to Chat \u2192 Settings \u2192 1. General<\/strong>.<\/li>\n<li>Check the Support Portal guest-ticket setting if the form must be available to logged-out visitors.<\/li>\n<li>Submit a test request and verify that it appears in <strong>Support Center \u2192 Tickets<\/strong>.<\/li>\n<li>If customers also need to review existing requests, use <a href=\"https:\/\/dragwyb.com\/docs\/docs\/dragwyb-click-to-chat\/add-user-ticket-list\/\">Add a User Ticket List<\/a> or publish the <a href=\"https:\/\/dragwyb.com\/docs\/docs\/dragwyb-click-to-chat\/support-portal-shortcode\/\">full customer support portal<\/a>.<\/li>\n<\/ul>","protected":false},"excerpt":{"rendered":"<p>Embed a standalone Dragwyb support ticket form, customize its display with supported shortcode attributes, and test customer access.<\/p>\n","protected":false},"author":0,"featured_media":0,"parent":71,"menu_order":0,"template":"","class_list":["post-75","doc","type-doc","status-publish","hentry"],"acf":[],"_links":{"self":[{"href":"https:\/\/dragwyb.com\/docs\/wp-json\/wp\/v2\/doc\/75","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dragwyb.com\/docs\/wp-json\/wp\/v2\/doc"}],"about":[{"href":"https:\/\/dragwyb.com\/docs\/wp-json\/wp\/v2\/types\/doc"}],"version-history":[{"count":2,"href":"https:\/\/dragwyb.com\/docs\/wp-json\/wp\/v2\/doc\/75\/revisions"}],"predecessor-version":[{"id":1382,"href":"https:\/\/dragwyb.com\/docs\/wp-json\/wp\/v2\/doc\/75\/revisions\/1382"}],"up":[{"embeddable":true,"href":"https:\/\/dragwyb.com\/docs\/wp-json\/wp\/v2\/doc\/71"}],"wp:attachment":[{"href":"https:\/\/dragwyb.com\/docs\/wp-json\/wp\/v2\/media?parent=75"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}