Autofilling custom fields based on a custom field

Hey all. Is it possible to get RT to autofill certain custom fields based on a another custom field? For example, By selecting a Customer name from a cf list, I want RT to autofill two different cfs, if they are chargeable or not and select from a list what what kind of machine they have on site. At the moment we have these three fields: Customer, Machine type and Chargeable?, and we have to select manually all three, but in some cases it would be very beneficial that these were autofilled based on the Customer field.

I suspect this might need some JavaScript to set the other CustomFields.

Hi @TiiaTikka

where do you want to lookup the information for the depending Custom Fields?

  1. Option like @Andrew_Ruthven mentioned: Use some Ajax to look them up in an external DB.
  2. Option: Use Scrips to identify setting or changing the Custom Field (Condition) and do some code to look up an set the values of the other fields (Custom Preparation Code and Custom Action Code). If there is no lookup you can set this values hard coded.
  3. Maybe you can use RTs Asset-Management to organize the Machine types

The right answer depends on the source of the information “chargeable” or not an “machine type”. We assume, it is an external system so option 1. or 2. is the choice.

1 Like