Conditional fields based on structure level I have a site that will heavily rely on the structure entry type to allow the client to publish content.

The "1st" level of the structure will always act as a table of contents for its children. The child pages will always contain the actual content (supplied via a matrix field). 

- Page A (TOC)
    - Page B (Content)
    - Page C (Content)
        - Page D (Content)
- Page E (TOC)
    - Page F (Content)
    - Page G (Content)
- Page H (TOC)
    - Page I (Content)
- ...


This means that the fields visible in the control panel for level 1 entries need to be different to the fields for level 2 + entries.

Is it possible to have conditional fields based on the structure's level?
This is not possible natively to have conditional fields based on the structure's level. For the same cases as yours, I'm also using different entry types.

Maybe you could consider moving your children to a Channel and link them to their parent using an Entry field + some routing, or using one of the plugins bellow to add a bit of hack, but I would not recommend it at all:


https://plugins.craftcms.com/conditions
https://plugins.craftcms.com/cp-css