What are auto-graded quizzes?
Auto-graded quizzes in Formaloo check answers, calculate scores, and assign results automatically, with no manual review.
Just set the correct answers and assign points. As users submit the quiz, Formaloo scores each response and instantly shows their result.
Auto-grading saves time, gives users instant feedback, and avoids manual errors, perfect for educators, trainers, HR teams, and anyone running assessments.
📝 Additional Insights:
Before setting up auto-grading, you need to create your quiz, assign scores to questions, and calculate the total score. Once that’s done, follow these steps to grade your quiz.
Follow these steps to set up auto-grading for your quiz.
1- Add a Variable Field to Track Scores and Grades
To calculate and store quiz scores or final grades, you need to add a Variable Field to your form. This field works behind the scenes, holding the total score or grade as users answer your questions.
In the left sidebar, click Add next to Variables to open the variable creation panel.
When adding a variable field, you’ll be asked to select its type. In this case, we’ll select Text.
Give your variable a clear ID, such as
grade
ortotal_grade
.If you skip this step, a default ID will be assigned.
📝 Additional insights:
You can edit a variable field’s name or ID anytime by clicking on the field in the right sidebar. If you update the ID, make sure to update it everywhere you’ve used it.
This ID can be used for answer piping, which lets you display the value of that variable inside messages, success pages, emails, PDFs and more.
2- Set logic to determine different grades
To automatically assign grades based on the total score, you'll need to set up advanced logic in the form editor.
This logic will evaluate the score and assign the appropriate grade based on predefined conditions.
Follow these steps to configure the grading logic:
Open the Advanced logic settings in your form editor.
Scroll to the "On Submit" section, where you will define the conditions that trigger different grades.
You’ll need to set conditions based on score ranges. For example:
A+: If the total score is greater than or equal to 95, assign A+.
A: If the total score is greater than or equal to 90 but less than 95, assign A.
A-: If the total score is greater than or equal to 85 but less than 90, assign A-.
B+: If the total score is greater than or equal to 80 but less than 85, assign B+.
B: If the total score is greater than or equal to 75 but less than 80, assign B.
B-: If the total score is greater than or equal to 70 but less than 75, assign B-.
Continue defining the grades for other ranges (e.g., C+, C, C-, D+, D, etc.) in the same way.
Here’s an example of how the logic will look for each grade:
If the total score is greater than or equal to 95, then Add A+ to Grade.
If the total score is greater than or equal to 90 and less than 95, then Add A to Grade.
If the total score is greater than or equal to 85 and less than 90, then Add A- to Grade.
Continue with similar logic for each grade.
Note: You can create as many variable fields as you need directly from the Advanced Logic page, too.
We use an integer variable called total score to keep track of points assigned to each question. This variable accumulates scores as users answer and helps calculate the final quiz grade.
For a failing grade (e.g., below 50), add the following logic:
Otherwise, Add Failed to Grade.
This step will ensure that every quiz submission is graded automatically based on the conditions you define.
3- Use answer piping to show the grade on the success page
Once you’ve set the logic, use answer piping to display the grade to the user on the success page after they submit the quiz.
Insert the grade in the success message by using @grade
to show the result of the grading logic.
Also, you can see these grades on the result page:
This setup ensures your quiz is automatically graded and the results are displayed to the user immediately after they submit their answers.