How to create a knowledge quiz that awards points automatically
Build an interactive quiz that calculates scores automatically, gives instant feedback, and awards points for each correct answer.
.jpg)
Build an auto-scoring quiz in minutes
In this guide, you’ll create a knowledge quiz that automatically awards points based on correct answers. This method is ideal when each question has exactly one correct option. You’ll use field-based logic and On Submit logic to assign points and show a tailored ending page with the user’s score.
📘 Learn more: Create your first form, app, or portal in a flash
Why this helps
- Automatically calculates quiz scores with simple rules.
- Produces instant feedback for learners with custom ending pages.
- Uses a clean, single-variable scoring approach that works in all quizzes.
- Ideal for compliance training, e-learning, product training, or onboarding tests.
- Compatible with Formaloo dashboards for insights into correct/incorrect trends.
📘 Learn more: Build personalized and time-saving flows with logic and automation
Step 1 – Create your quiz form
You can start from scratch or use a template from our Template Gallery (for example: Knowledge Quiz, Assessment Form, or any education quiz).
Or use Magic Create with a prompt such as:
“Create a 5-question knowledge quiz with single-choice answers and correct-answer scoring.”
Add fields such as:
- Intro message
- Single-choice question 1
- Single-choice question 2
- Single-choice question 3
- …add as many questions as needed
💡 Tip: Place each question on a separate page for higher focus and completion.
📘 Learn more: Form editor and field types
Step 2 – Add an integer variable to track total score
Instead of using a normal number field, you’ll create a Variable → Integer field. This variable does not appear to respondents and is designed for calculations.
How to create it:
- In the form editor, add a new field.
- Select Variable → Integer.
- Name it Total Score.
- Set Default value = 0.
- Copy the Field ID, because you’ll use it in your On Submit logic.
This Integer variable:
- stays hidden
- cannot be edited by the user
- updates only through scoring logic
- is perfect for adding points per correct answer
📘 Learn more: How to add and calculate scores using variable fields
Step 3 – Add simple “correct answer” logic rules
For every question, you’ll create On Submit logic that checks the selected answer and adds points to your integer variable.
Example logic for each question
- Go to Settings → Advanced Logic → On Submit.
- Click Add Logic.
- Set your condition:
- If Question 1 equals "Correct Answer"
- Set the action:
- Calculate → Add 1 to @field_totalScoreID
- Repeat for every question in your quiz.
This creates a clean scoring system where each correct answer simply adds points to your variable.
💡 Tip: Keep all scoring rules grouped together at the top of your logic list for easy editing.
📘 Learn more: What is On Submit logic and how it works
Step 4 – Show results using a personalized ending page
Your quiz can display the final score immediately after submission.
Set up an ending page:
- Add a results message such as:
- “Your final score: @field_totalScoreID / 5”
- Include an explanation or recommended reading if you like.
Optional: Create tiered result pages
You can create multiple ending pages and route users based on their final score:
- Score ≥ 4 → Excellent!
- Score 2–3 → Good job!
- Score ≤ 1 → Keep practicing!
📘 Learn more: How to set up multiple ending pages with redirect logic
Step 5 – Review responses and analyze quiz performance
Once your quiz is live, Formaloo automatically stores all results in the Responses table and generates real-time analytics.
You can review:
- Total scores per respondent
- Most commonly missed questions
- Trends across all submissions
- Charts and visuals inside your dashboard
📘 Learn more: How to showcase charts based on form responses
Pro tips
💡 Pro Tip – Shuffle answer choices
Randomizing choices reduces pattern bias.
📘 Learn more: Customize your form/app layout and design
💡 Pro Tip – Add a progress indicator
Multi-page quizzes feel smoother with a sense of progress.
📘 Learn more: Form editor and field types
💡 Pro Tip – Turn it into part of a learner portal
Allow users to log in and track all past quiz scores.
📘 Learn more: How to create a portal and manage users’ access
Real-world example
A training academy built a 12-question compliance quiz using this exact setup. Each correct answer adds 1 point to an integer variable. Final results route users to one of three ending pages: “Pass”, “Review Required”, or “Try Again”. Trainers also created a dashboard to monitor performance trends, cutting manual grading time by 100%.
📈 See more examples: Formaloo use cases
FAQ
1. Can I email users their score automatically?
Yes, create an email notification and include the integer variable with @field_ID.
🛠️ Learn more: How to send and receive email notifications
2. Do users ever see the integer variable field?
No, variable fields never appear in the form and can’t be edited or altered by respondents.
❓ Learn more: Form editor and field types
3. Can I set a pass/fail threshold?
Yes, create multiple ending pages and use score-based redirect logic.
🔧 Learn more: How to set up multiple ending pages
Your quiz now grades itself
You’ve created a clean, simple auto-scoring quiz using integer variables and correct-answer logic. From here, you can expand into certification flows, dashboards, or a full training portal.
🎉 Learn more: Explore more ways to automate and personalize your workflows
Last updated November 2025


.jpg)
.jpg)
.png)



