[rt-users] Creating a Quick Comment field

Dave Kettmann dkettmann at netlogic.net
Thu Jun 2 20:09:29 EDT 2005


Hey all,

I am trying to modify /Ticket/Display.html in a way that right above the History, it shows a textbox that you can do a 'Quick Comment' in. Here is the code I have so far...

<& /Elements/TitleBoxStart, title => loc("Quick Comment on Ticket #[_1]", $TicketObj->Id) &>

<FORM ACTION="Update.html" NAME="TicketUpdate"
        METHOD=POST enctype="multipart/form-data">
<input type="hidden" name="Action" value="Comment">
<input type="hidden" name="id" value="<& [_1], $TicketObj->Id &>">


<textarea class="messagebox" COLS=72 ROWS=5 WRAP=HARD NAME="UpdateContent">
</textarea>

<INPUT TYPE=SUBMIT NAME="SubmitTicket" VALUE='Update Ticket'>

</FORM>
<& /Elements/TitleBoxEnd &>



More information about the rt-users mailing list