When I edit a group content type, there is a group audience field. The same content type has some computed fields that return select lists.

I want the choices of the computed field select list to depend on the group audience selection. This could be done by pre-selecting the group audience and then accessing the group audience variable from the computed field.

Is there a way to pre-select the group audience in the node creation process?

For example:
add content -> select content type -> select group audience -> edit new content

Comments

bgm’s picture

This is an old post, but in case other people like me stumble upon it from google:

* enable og_context
* install entityreference_prepopulate
* go to the content type settings of your group-content, edit the group audience field, and enable prepopulate.