Related Field Issue

I am trying to use a related field in a quick create form to populate an additional field on the form and it is not work. I am using the code below:


'displayParams' => array(
   'field_to_name_array' => array(
   'id' => 'si_yarnsystemcolors_id_c',
   'ysc_cost' => 'cq_yarn_color_cost_pound',
  ),
),

This is from one custom module to another. I have verified that the ID fields are correct. The related field is getting populated, just not the additional one (cq_yarn_color_cost_pound).

Any ideas?

I figured out my issue. I was testing on the quick create form and my snippet of code was not added to that definition file. So the moral of this story is to make sure you added it to every file that needs it.