Hello Everyone,
There has been a lot of posts and solutions that I've read in regards of this subject but can't quite find the one specific to my scenario. I would like to apologize ahead of time if this has been resolved in the past and would appreciate pointing me in the right directions.
I have a need to retrieve data from MODULE B going to MODULE A (both custom modules. Here is my code snippet from EDITVIEWDEFS.php of MODULE A:
Code:
array (
'name' => 'field_a',
'studio' => 'visible',
'label' => 'LBL_FIELD_A',
'validateDependency'=>false,
'displayParams' =>
array (
'field_to_name_array' =>
array (
'name' => 'field_a',
'from_field_b' => 'field_b',
'from_field_c' => 'field_c',
'from_field_d' => 'field_d',
'from_field_e' => 'field_e',
'from_field_f' => 'field_f',
'from_field_g' => 'field_g',
),
),
), The code above does what its suppose to do in terms of retrieving values from MODULE B but here is what's happening post-retrieved:
- FIELD A along with the rest of the fields are getting populated
- But during the save process, everything gets saved except for FIELD A (the value reverts to the old value or if its a new record it just gets saved as blank)
Any directions will be much appreciated.
Thanks,
Cedric
Bookmarks