Which one is correct?

  •  
  • 49
  • 4
  • 2
  • English 
Oct 11, 2018 10:46
All the students are required to attend at least 20 classes in a month.
All the students are required attending at least 20 classes in a month.


I've never seen anyone using "be required doing" before, so I thought the former one was correct, but I'm not sure if I'm right.

I'd be happy to get the answer for this!
Learn English, Spanish, and other languages for free with the HiNative app