It shall be unlawful for any county superintendent of education or any superintendent of city schools to place the name of any person, subject to institute attendance, on his payroll during the period of six months following the close of the institute so held, who at the time said institute was held failed to attend or submit an excuse approved by the county superintendent of education or the city superintendent of schools as the case may be and accepted by the State Superintendent of Education.