Conditional show Fields, depending on parent

hope you guys have/had a wonderful christmas time!

First workday after holidays, first problem:
Is there a way to conditionally show/hide fields, depending on aq_parent selection/data?


Parent Object

  • Field "child" = true


  • if parent object attribute "child" is true
    show special fields ( age, birthday, ....)
  • otherwise hide fields (schemata)

Thank you

My first idea: add a custom permission if you set the child to "True" or remove this permission if this child is "False" via an Eventhandler. With this custom Permission you can control Fields like described in: the Docs or your write your own Add/Edit Form and set the Visibility of the Widgets programmatically.