i have problem with lesson completion "grade to pass". the lesson activity still completed even though my grade not pass "grade to pass" settings.
This is moodle version that i use: 3.0
I have requirement like this :
- Lesson activity need to be marked completed only if user "lesson grade" pass "grade to pass" settings
- if Lesson pass the grade then there will be message like "You have passed Lesson"
- if lesson didn't pass the grade then there will be message like "You didn't passed Lesson
This is my Lesson Settings:
Grade:
- Grade Type : Point
- Maximum points 100
- Grade category: Uncategorized
- Grade to pass 50.00
- Practice lesson No
- Custom scoring Yes
- Re-takes allowed No
- Handling of re-takes No
- Minimum number of questions 0
Activity Completion:
- Require grade: checked (Student must receive a grade to complete this activity)
- Require end reached: checked (Student must reach the end of lesson page to complete this activity)
Lesson content:
- question 1, jump to next page score: 20
- question 2, jump to next page score: 20
- question 3, jump to end off lesson score: 60
if student need to answer correctly 3 question then lesson completed. Lesson passed message appear
if student only answer 2 correct question then lesson not completed. lesson failed or didn't pass appear
Did i miss something. please advice.
Do you know how the gradepass is used for lesson in the code ? i can't found it yet.
Thanks in advance,
Cahyo