Mathew Snyder writes:

> I've clarified with my boss.  He does want the field to be
> pre-populated.  [...]

If the string '&UpdateTimeWorked=5' is added to the update URL,
e.g. 
https://www.example.com/rt/Ticket/Update.html?Action=Comment&id=50&UpdateTimeWorked=5,
the field will be pre-populated.

I.e. if you copy html/Ticket/Update.html to your local directory and
replace 'value="<% $ARGS{UpdateTimeWorked} %>"' with 'value="5"' the
field will always be pre-populated.

I haven't figured out how to set a default value for UpdateTimeWorked
though.  The field won't be pre-populated if you add
'$UpdateTimeWorked => "5"' to the %ARGS section at the bottom of
Update.html.

_______________________________________________
http://lists.bestpractical.com/cgi-bin/mailman/listinfo/rt-users

Community help: http://wiki.bestpractical.com
Commercial support: [EMAIL PROTECTED]


Discover RT's hidden secrets with RT Essentials from O'Reilly Media. 
Buy a copy at http://rtbook.bestpractical.com

Reply via email to