All proceedings relating to the custody of children shall comply with the requirements of ch. 822.