Call Custom Field in Template

Hi,

We are currently using RT 4.0.4 to make a change management system.

We have more or less everything ready. The only problem is, we want the
customer to select a custom field value when making a new ticket. The values
of the custom field are names.

We want to insert custom field value as the owner in the templates. Is there
any way to do this.

We have tried FirstCustomFieldValue, CustomFieldValue, LoadByName and
LoadByNameAndQueue.

Nothing seems to work

View this message in context: http://requesttracker.8502.n7.nabble.com/Call-Custom-Field-in-Template-tp58277.html

I managed to figure this out.

In addition, when I create a mandatory custom field, I don’t want it to
display “Input must match [Mandatory]”. Is there any way to change this?

A callback maybe? Any help will be greatly appreciated.

View this message in context: http://requesttracker.8502.n7.nabble.com/Call-Custom-Field-in-Template-tp58277p58278.html

In later versions of RT, these seem to be known as “hints” and it’s
possible to hide them globally with a CSS modification, or selectively
using a BeforeCustomFields callback.

In RT v4.0.4, I’m not so sure. The message is output by the
ValidateCustomFields Mason element, but I struggle to understand what’s
going on within that component just by reading the code. To me, it looks
like that message should only be displaying if validation has actually
failed (i.e. the user tried to submit without entering any value).

If it’s showing alongside the fields themselves before submission, you
still might be able to target and hide them via CSS.On 8 August 2014 21:09, AJ aaron.mccarthy@southwestern.ie wrote:

I managed to figure this out.

In addition, when I create a mandatory custom field, I don’t want it to
display “Input must match [Mandatory]”. Is there any way to change this?

A callback maybe? Any help will be greatly appreciated.


View this message in context:
http://requesttracker.8502.n7.nabble.com/Call-Custom-Field-in-Template-tp58277p58278.html
Sent from the Request Tracker - User mailing list archive at Nabble.com.

RT Training - Boston, September 9-10
http://bestpractical.com/training