My question is about: "adding field data to referenced node without replacing existing data".
For example, I have a project node with team members referencing the project. Each team member has on its node a location, ie, 'United Kingdom', 'United States', 'Australia'.
On the project node I have those exact same fields. I need to create a rule so that when a 'team member' node is created, its location is added to the project node without replacing existing content.
So for instance, a project node with a team member from the United Kingdom would also have on its location field, 'United Kingdom'. When a team member from 'United States' is added, the project's location field would have 'United Kingdom' and 'United States'. When a team member who's location is both Canada AND France is added, the project's location becomes United Kingdom, United States, Canada, and France.
Thanks!
Doing something like:
return array(
0 => array('value' => 'United Kingdom')
);
Just wouldn't work! It would replace the existing values. How do I make it so that it adds on to the existing values. Thanks!