I use Drupal 8 with webform. I have a content type called "Event" which has several fields of simple type and reference type for other content types.
In addition it has a field entity reference that points to a webform named "Team".
In "Event" in creation and edit mode, using the field_permissions-8.x-1.0-rc2 module, I prevent access to authenticated users, because the default aspect is too complex for users who create content with the "Event" content type.
Among other things, if I do not prevent these settings, there is the possibility of changing the content type, which I would definitely not want.
For this reason I would like to link some simple fields of the "Event" content type to the "Team" webform.
- Status (open, closed, scheduled)
- Open (date and time)
- Closed (date and time)
- Max submissions (Total submissions limit per source entity)
Can anyone suggest me how to do it? Can it be done with Tokens? Should you use a Hook? I searched the net but I didn't find anything like that.