I'm trying to make Sitecore Forms easier for my content editors to use. They use the Content Editor and never touch layouts, controls, or renderings.
I've made an item template with a single droptree called "Form". It's data source is "/sitecore/Forms" This allows my content editors to select a form without going into presentation > details > edit > controls > Mvc Form > edit > Data Source > Browse, and missing a step and calling me when they break the page.
To get this to work, I need to set the Data Source of that control to a query that looks at the current item's "Form" field's value and uses the item linked as the Data Source for the control. What query do I need here?
If a query is not possible could I place a control into the layout before the "Mvc Form" control that reads the field's value and sets the datasource on the "Mcv Form" control?