Site policy agreement - force scroll

Site policy agreement - force scroll

av Justina Torres -
Antall svar: 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

Gjennomsnittlig vurdering: -
Som svar til Justina Torres

Re: Site policy agreement - force scroll

av Tim Hunt -
Bilde av Core developers Bilde av Documentation writers Bilde av Particularly helpful Moodlers Bilde av Peer reviewers Bilde av 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.
Som svar til Tim Hunt

Re: Site policy agreement - force scroll

av 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!