Site policy agreement - force scroll

Site policy agreement - force scroll

Napisane przez: Justina Torres ()
Liczba odpowiedzi: 3

Hi, I'm not sure if this is the right place to post this question.  I'm running Moodle 2.3.1 and would like to force students to have to scroll all the way down to the bottom of a site policy agreement before they click Yes/No to agree to it.  Is this possible?  The site policy agreement has been loaded as a URL in the Site Administration -> Security --> Site Policies section and is able to be viewed just fine, it is just lacking the "force scroll before agreeing" functionality.

Thanks so much!

Justina Hohmann

W odpowiedzi na Justina Torres

Re: Site policy agreement - force scroll

Napisane przez: Tim Hunt ()
Obraz Core developers Obraz Documentation writers Obraz Particularly helpful Moodlers Obraz Peer reviewers Obraz Plugin developers

Well, what you would really like to do is make the users actually read the policy agreement before clicking Yes/No, and, of course, that is impossible. Forcing them to scroll is not going to force them to read, but I expect you know that.

If you really want this (rather than, say, spending your time editing the policy statement to be shorter, and plainer English) then you are going to have to write some custom JavaScript that

  1. Disables the button on page-load.
  2. Re-enables in once the user has scrolled to the bottom.
W odpowiedzi na Tim Hunt

Re: Site policy agreement - force scroll

Napisane przez: Justina Torres ()

Thanks Tim.  You're right-force scroll does not equal guaranteed reading, however our business office is requiring this functionality for legal purposes.  I was hoping to get around using JavaScript but alas it sounds like that is not possible.  I'll need to contact one of my co-workers for further assistance (since I'm just a Moodle site admin, not a Java coder).

Thanks for the help!