- Issue created by @mr.pomelov
The number of points for the correct answer is not saved in the quiz element. I can't put up anything but 1 point.
I have added several quiz pages, inside of which I have questions (a checkbox with multiple choice and one correct answer). I get one point for all the questions from the first part. I need the questions from the second part to give 2 points each. I change the field with the number of points set to 2, save it, but in the end the changes are not saved and I still have one point.
This issue has already been raised ( https://www.drupal.org/project/webform_quiz/issues/3040635 → ) for the 8.x-1.x-dev version of the module. The patch that the author advises to apply did not work for me, because I use Drupal 9 and the module version 8.2.1.
Obviously, changes in the code are required, as described in the patch, which will correctly save the value of points and count the final result.
Needs work
2.1
Code