Group form and footnote elements in forms and footnotes elements.