Using custom profile fields as answers to individualized quiz questions?

Using custom profile fields as answers to individualized quiz questions?

by Chad Jones -
Number of replies: 2

Hello all,

I'm trying to create a course that requires (from a regulatory agency) intermittent student verification in the form of a individualized question about the student.  I'm thinking I'd like to create a quiz question and then reference the custom student profile fields in a table to populate the correct answer for a quiz question.

My question is, can anyone point me in the right direction on how to do this.  I'm new to PHP, but willing to do what it takes to figure out this solution.

Thanks!

Chad Jones

Average of ratings: -
In reply to Chad Jones

Re: Using custom profile fields as answers to individualized quiz questions?

by Clarence Prudhoe -

Hi Chad,

I developed a code hack that will block simultaneous users and limit the login session to a given amount of time.

You could take my code and modify it to create a timer that would require the user to log-in again or just ask the verification question.

There is also a plugin available to block simultaneous users, but I haven't looked at it yet.

Read the posts in this forum http://moodle.org/mod/forum/discuss.php?d=34457#p674481

The link to my code is in that forum.

Clarence