{"id":15304853,"date":"2022-01-29T07:23:41","date_gmt":"2022-01-29T07:23:41","guid":{"rendered":"https:\/\/wordpress.org\/support\/topic\/sortable-subsections\/"},"modified":"2022-01-29T07:23:41","modified_gmt":"2022-01-29T07:23:41","slug":"sortable-subsections","status":"publish","type":"topic","link":"https:\/\/wordpress.org\/support\/topic\/sortable-subsections\/","title":{"rendered":"Sortable Subsections"},"content":{"rendered":"<p>I&#8217;m new to using the AdminPageFramework but am thoroughly enjoying it so far. I&#8217;m kinda stumped. I&#8217;m trying to create a Settings page that has tabs and inside one of the tabs are collapsible sections. Inside each of those collapsible sections, I want a set of sortable collapsible sections (subsections) that contain fields that are unique for each of the subsections. The structure would look something like:<\/p>\n<pre><code>Settings\n   +--&gt;General (Tab)\n   |   +--&gt;Sections &amp; fields\n   +--&gt;Forms (Tab)\n   |   +--&gt;Form 1 (Collapsible Section)\n   |   |   +--&gt;Field 1 (Sortable Collapsible Section)\n   |   |   |   +--&gt;Field 1 Attribute 1 (checkbox)\n   |   |   |   +--&gt;Field 1 Attribute 2 (text)\n   |   |   |   +--&gt;more fields\n   |   |   +--&gt;Field 2 (Sortable Collapsible Section)\n   |   |   |   +--&gt;Field 2 Attribute 1 (radio)\n   |   |   |   +--&gt;Field 2 Attribute 2 (checkbox)\n   |   |   |   +--&gt;Field 2 Attribute 3 (text)\n   |   |   |   +--&gt;more field\n   |   |   +--&gt;Field 3 (Sortable Collapsible Section)\n   |   |   |   +--&gt;more fields\n   +--&gt;Notifications (Tab)\n   ...<\/code><\/pre>\n<p>The <strong>Forms<\/strong> tab is the one of interest. Hopefully you get the idea. Can this be done with AdminPageFramework? How would I go about making it happen?<\/p>\n<p>Thanks in advance so much.<\/p>\n","protected":false},"template":"","class_list":["post-15304853","topic","type-topic","status-publish","hentry","topic-tag-admin-page","topic-tag-collapsible","topic-tag-form","topic-tag-sortable"],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15304853","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic"}],"about":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/types\/topic"}],"version-history":[{"count":0,"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/topic\/15304853\/revisions"}],"wp:attachment":[{"href":"https:\/\/wordpress.org\/support\/wp-json\/wp\/v2\/media?parent=15304853"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}