Comments: ** Comment from web user: burningice **
It should be fairly easy to make... The EditPage workflow does it for injecting Metadata fields and the C1Contrib FormBuilder also does it (inspired by how the Metadata tab work on Pages) https://bitbucket.org/burningice/compositec1contrib.formbuilder/src/bbee75568b4575a8183090440271dbfd397ca217/FormBuilder.Dynamic/C1Console/Workflows/EditFormFieldWorkflow.cs?at=default#cl-72
I would suggest adding a new attribute to elements ala
<Placeholder formSource="SomeFile.xml" />
and the content of SomeFile.xml would then be
<?xml version="1.0" encoding="utf-8"?>
<cms:formdefinition xmlns="http://www.composite.net/ns/management/bindingforms/std.ui.controls.lib/1.0" xmlns:cms="http://www.composite.net/ns/management/bindingforms/1.0">
<cms:bindings>
<cms:binding name="Rows" type="System.Int32" />
</cms:bindings>
<cms:layout>
<Placeholder>
<FieldGroup>
<TextBox Label="Rows">
<TextBox.Text>
<cms:bind source="Rows"/>
</TextBox.Text>
</TextBox>
</FieldGroup>
</Placeholder>
</cms:layout>
</cms:formdefinition>
Where its crucual that the first element in <cms:layout> is the same Element Name as the one having the formSource atribute in the parent xml-file. This would follow the general convention of including configuration files in .Net.