Before you create a subform element within a form, you need to create a form that contains the elements you want to show in the subform.
Example:
In our subform example service we want to use standard headers and footers in all input forms. Therefore, we create forms for the header and the footer first.