Site policy agreement - force scroll

Site policy agreement - force scroll

על ידי Justina Torres בתאריך
מספר תגובות: 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

ממוצע דרוגים: -
בתגובה ל: Justina Torres

Re: Site policy agreement - force scroll

על ידי Tim Hunt בתאריך
תמונה של Core developers תמונה של Documentation writers תמונה של Particularly helpful Moodlers תמונה של Peer reviewers תמונה של 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.
בתגובה ל: Tim Hunt

Re: Site policy agreement - force scroll

על ידי 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!