When were US children required to go to school?

The earliest compulsory education was in Massachusetts Colony in the 1640s. Thereafter each colony and state enacted its own required school attendance laws. By 1918, all states required children to at least complete elementary school. For more information, check this site.

http://en.wikipedia.org/wiki/Education_in_the_United_States#History

thank you

You're welcome! If you have any more questions, feel free to ask.