Hi RT Users,<br><br>i'm trying to customize the Create.html Page and fighting with the Custom Field Section. I found that the Custom Fields from a specific queue are hand over from Create.html to a Element called EditCustomFields. So far so good. This renders all the Custom Fields for this queue.
<br><br>What i need in this "special" Case is only one Custom Field!<br><br>At the Elements/EditCustomFields i found the following:<br><br><table><br><tr><br><td valign="top" width="50%">
<br><table><br><br>% my @entry_fields;<br>% my $i;<br>% my $cfcount = $CustomFields->Count;<br>% $cfcount++ if ($cfcount % 2) ; # if we have an odd number of<br>% #custom fields, fudge it so we know where to put in the table break
<br>% while (my $CustomField = $CustomFields->Next()) {<br>% if ($cfcount == 2 * $i) {<br></table><br></td><br><td valign="top" width="50%"><br><table><br>% }<br>% $i++;<br> <tr>
<br> <td class="labeltop"><br> <b><%$CustomField->Name%></b><br><br> <i><%$CustomField->FriendlyType%></i><br> </td><br> <td class="entry"><& EditCustomField,
<br> Object => $TicketObj,<br> CustomField => $CustomField,<br> NamePrefix => $NamePrefix ,<br> Default => $m->notes('Field-' . $CustomField->Id),<br> &>
<br>% if (my $msg = $m->notes('InvalidField-' . $CustomField->Id)) {<br> <br><br> <em style="color: red"><% $msg %></em></td><br>% }<br> </tr><br>
% }<br></table><br></td><br></tr><br></table><br><br clear="all">Does anyone have an idea how to limit this to only one NAMED Custom Field???<br>Thanks<br>-- <br>MFG<br><br>Torsten Brumm<br><br><a href="http://www.torsten-brumm.de">
http://www.torsten-brumm.de</a>