My use case is a list of events and I want to show a label on the views item, if the event is already booked out. Therefore I would render the status of the referenced event registration webform.
The registration webform ist connected to each event node via the Webform Node module (submodule of Webform). The view consists of nodes of the type
event which contains an entity reference field to the resgistration webform.
I have installed the Webform Views Module. Now I want the view to render this entity reference field as the status of the webform, meaning
The problem is, that the views UI for the field rendering only lets me select from
- URL of the Webform
- the whole webform
- a link to the webform
The Link option provides a text input field for YAML code. Maybe I could use this? But I don't know how ...
Any ideas, how I can get the view to render the status of the referenced Webform?