Feature Request: Allow "ANY" instead of "ALL" access restrictions to enable an activity

Feature Request: Allow "ANY" instead of "ALL" access restrictions to enable an activity

Neil Haskins發表於
Number of replies: 0

Currently in the conditional activities settings, as according to http://docs.moodle.org/25/en/Conditional_activities_settings

"Note that ALL access restrictions (date, grade condition, activity completion condition) have to be met in order for the activity to be made available..."

This is probably what is usually wanted, but it would be helpful to be able to select whether Any or All conditions should be required to enable an activity. The best option would be to have a method to select AND or OR for nestable groups, i.e. "A and B and (C or D or (E and F))"

What I want this for is so students can select which optional units the wish to take, using a quiz. For example if I want my students to chose 2 of 5 units I can make a quiz (We'll call it "unit select quiz" with a yes or no question for each unit, and assign question twice the marks of the last. So unit 1=1 point, Unit 2=2 points, Unit 3 = 4 points, Unit 4 = 8 points, I will make unit 5 = 85 points so that the total points = 100, thus 1 point = 1 percent. So I know if they have selected Unit 1 as one of there 2 choices then their quiz score will be either 3, 5, 9, or 86 points. Then I will set the following grade conditions for Unit 1:

"unit select quiz"  Must be at least  2.5%  and less than  3.5%
     or
"unit select quiz"  Must be at least  4.5%  and less than  5.5%
     or
"unit select quiz"  Must be at least  8.5%  and less than  9.5%
     or
"unit select quiz"  Must be at least  85.5%  and less than  86.5%

This method could work for choosing any number of up to 6 options, although I understand it is a bit awkward.

I could see it having other uses though, for example if you have your students complete one of two assignments, and wish a third assignment to become visible afterwards.

 

If there is an existing way to accomplish this that I've missed, please let me know.

Thanks

評比平均分數: -