Scroll down detection

Scroll down detection

  
Hi!

I need to enable a checkbox only when the user has scrolled down to the end of a license agreement.
Has anyone ever done this before?
Cheers,
António