Hi,
i want to add a form in right ticket menu.
In file AgentTicketQueueTicketView.dtl i add this:
<p>
<hr>
<b>$Text{"FeedBack Info"}:</b>
<br>
<table border="0">
<tr>
<td>
<li>
<b>$Text{"Automatic Classification"}</b>
<ol type="1">
<li>
<b>$Text{"Class1"}</b>
</li>
<li>
<b>$Text{"Class2"}</b>
</li>
<li>
<b>$Text{"Class3"}</b>
</li>
<li>
<b>$Text{"Class4"}</b>
</li>
<li>
<b>$Text{"Class5"}</b>
</li>
</ol>
</li>
<li>
<b>$Text{"Manual Classifica"}</b>
<form name="modulo" action="$Env{"CGIHandle"}"
method="get">
<table>
<tr>
<td>Class 1 :</td>
<td>
<select name="Class 1 ">
<option value="Hardware">Hardware</option>
<option value="Software1">Software1</option>
<option value="Software2">Software2</option>
</select>
</td>
</tr>
<tr>
<td>Class 2 :</td>
<td>
<select name="Class 2 ">
<option value="Hardware">Hardware</option>
<option value="Software1">Software1</option>
<option value="Software2">Software2</option>
</select>
</td>
</tr>
<tr>
<td>Class 3 :</td>
<td>
<select name="Class 3 ">
<option value="Hardware">Hardware</option>
<option value="Software1">Software1</option>
<option value="Software2">Software2</option>
</select>
</td>
</tr>
<tr>
<td>Class 4 :</td>
<td>
<select name="Class 4 ">
<option value="Hardware">Hardware</option>
<option value="Software1">Software1</option>
<option value="Software2">Software2</option>
</select>
</td>
</tr>
<tr>
<td>Class 5 :</td>
<td>
<select name="Class 5 ">
<option value="Hardware">Hardware</option>
<option value="Software1">Software1</option>
<option value="Software2">Software2</option>
</select>
</td>
</tr>
<tr>
<td colspan="2" align="center"><input type="submit"
value="Send FeedBack"></td>
</tr>
</table>
</form>
</li>
</td>
</tr>
</table>
<hr>
</p>
Now the form that i want is visible in menu but i have 2 problems.
1. I don't know where i can't find the selected values in the form. For
example, if a user select Hardware, Software1, Software2, Hardware ,
Hardware how can i obtain this values??
2. how i can print the value of a variable where i wrote $Text{"Class1"} and
how i can pass this variable to the dtl file??
Thanks
Fabio Zanon
---------------------------------------------------------------------
OTRS mailing list: dev - Webpage: http://otrs.org/
Archive: http://lists.otrs.org/pipermail/dev
To unsubscribe: http://lists.otrs.org/cgi-bin/listinfo/dev
NEW! ENTERPRISE SUBSCRIPTION - Get more information NOW!
http://www.otrs.com/en/support/enterprise-subscription/