Instead of using one of our pre-built Ticket Portals (the Advanced Portal or the Public Portal), customers may also elect to use an HTML form to submit a ticket.
This would generally be used if the pre-built portals did not fit into the style of a customer’s website. This method of ticket creation could also be used in lieu of the API to create new tickets as well.
Using this method does require some knowledge of HTML and specifically HTML form creation. The process is fairly straightforward – You simply create an HTML form and “post” the form data to a specific TeamSupport URL.
Here is some example code:
<form name="test" action="https://portal.[ServerName].teamsupport.com/webform.aspx" method="post"> First Name: <input type="text" name="FirstName" /> <br /> Last Name: <input type="text" name="LastName" /> <br /> EMail: <input type="text" name="Email" /> <br /> Subject: <input type="text" name="Subject" /> <br /> Description: <textarea cols="40" rows="5" name="Description"></textarea> <br /> <input type="hidden" value="http://www.teamsupport.com" name="SuccessUrl" /> <input type="hidden" value="orgnamehere" name="OrgName" /> <input type="submit" value="Submit" /> </form>
Below is a description of the various fields:
- Action: This is the URL that points towards where the form data is going to be posted. This is a specific TeamSupport URL that will read your form data and process it into a ticket.
- FirstName: The submitter’s first name.
- LastName: The submitter’s last name.
- EMail: The submitter’s e-mail address.
- Subject: This will be the title of the ticket within TeamSupport.
- Description: This is where the problem is described and the text here will populate the initial action of the ticket.
- SuccessURL: If the form is submitted successfully, the user will be redirected to this page. In the sample code above they are redirected to the TeamSupport homepage, but you can direct them wherever makes sense.
- OrgName: This is the “Portal Name” field (found in your TeamSupport account by going to Admin-Portal and looking at the first field) that identifies the name of your account.
In the sample code above both the SuccessURL and OrgName are defined as “hidden” which means they are not displayed as a part of the form.
There are also two optional fields which will populate data in TeamSupport if used:
Need more help with this?
Don’t hesitate to contact us here.