Hi Guys,

New to the forum and new to XML. I work for a company that operates a helpdesk system. We have implemented a few changes within the IT department and need some of these changes to reflect in our helpdesk system.

I contacted the company that created our helpdesk system but they were useless apparently they dont provide an option to make the change we want but they told me I can go through the XML code myself and modify it if I know how.

My question is when a user submits a helpdesk ticket they are given with an option to select their department. We currently added 4 new categories but they are requests rather than departments. I have provided a picture below of what i mean.

I would like to break up the departments from the requests see picture below.







<{displaytemplate name="header"}>

<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr><td align="left" valign="top">

<form name="submitticket" method="post" action="<{$basepath}>">
<fieldset class="swiftfieldset">
<legend><{$language[selectdepartment]}></legend>
<table width="100%" border="0" cellspacing="1" cellpadding="2">
<{foreach key=key value=item from=$ticketdepartments}>
<tr>
<td width="1" align="left" valign="top" class="row2"><label for="departmentid[<{$item[departmentid]}>]"><input type="radio" name="departmentid" id="departmentid[<{$item[departmentid]}>]" value="<{$item[departmentid]}>"<{if $tgroup[departmentid] == $item[departmentid]}> checked<{/if}>></label></td>
<td><span class="smalltext"><label for="departmentid[<{$item[departmentid]}>]" style="CURSOR: pointer;"><{$item[title]}></label></span></td>
</tr>
<{/foreach}>
</table>
</fieldset>
<table width="100%" border="0" cellspacing="1" cellpadding="2">
<tr>
<td><input name="submit" type="submit" class="bluebutton" value="<{$language[tcknext]}>">&nbsp;&nbsp;<input name="reset" type="reset" class="orangebutton" value="<{$language[treset]}>"></td>
</tr>
</table>
<input type="hidden" name="_m" value="tickets">
<input type="hidden" name="_a" value="submit">
<input type="hidden" name="step" value="1">
<{$formextension}>
</form>

</td><td width="5"><img src="<{$themepath}>space.gif" width="5" height="1"></td></tr>
</table>
<{displaytemplate name="footer"}>

Thats the code for the departments page.

Any help would be greatly appreciated.