Install
Works with Drupal: ^8.8 || ^9 || ^10Using dev releases is not recommended, except for testing.
Using Composer to manage Drupal site dependencies
Alternative installation files
Release notes
In development, dont use in production.
The main goal is to have new "survey" mode, there options of answers (checkboxes, radios, etc) have own score each. Means options can work like before with correct answer mode, or can be switched to mode where no correct/wrong, but having different numbers of scores per answer. Single option elements like textbox still will work old way "all or nothing".
The new Results page will have scores per section (per wizard page).
PDF generation will be added where user can download his results.
This works is going "decoupled first", means for REST API, means twig flow will be in second turn.
Plus code improvements and few bug fixes.
Has breaking changes, but no automatic migration planned. For manual - admin will have to visit each Quiz of v2 he/she had and fill in scores per Element again and save.
- add option to have score per answer option selected (now it is just score per correct answer or 0 otherwise)
- add scores summary per section/step
- generate PDF (using mpdf lib https://github.com/mpdf/mpdf)
- fix "Notice: Undefined index: passing_score" and "Undefined index: passing_score_message"
- make "Number of points" common field for all elements types
- add surver/quiz mode for mutiselects (radios, checkboxes, dropdowns ...)
- remove annoying bug with extra empty element added
- support webform_quiz_number_of_points, now each element in summary is taken is 1 if correct and maxscore is 1 per element, but webform_quiz_number_of_points should be used for maxscore and for score got per answer