[rt-users] Creating a Quick Comment field

Todd Chapman todd at chaka.net
Thu Jun 2 22:16:35 EDT 2005


On Thu, Jun 02, 2005 at 07:09:29PM -0500, Dave Kettmann wrote:
> 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 &>">

Should be:
<input type="hidden" name="id" value="<% $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 &>
> _______________________________________________
> http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users
> 
> Be sure to check out the RT Wiki at http://wiki.bestpractical.com



More information about the rt-users mailing list