Upon the filing of the application mentioned in section 299.19, the time of hearing shall be determined by the juvenile court or the district court. If, upon hearing, the court determines that the person required to appear has the custody and control of a child who should be required to attend a state-operated school under section 299.18, the court shall make an order requiring the person to keep the child in attendance at the state-operated school.
Iowa Code § 299.20
91 Acts, ch 200, §18