Skip to content

Implement Quiz Mode and auto-save feature in Form Builder - #37

Merged
QUBITABHAY merged 4 commits into
mainfrom
development
Apr 17, 2026
Merged

QUBITABHAY merged 4 commits into
mainfrom
development

Conversation

@QUBITABHAY

Copy link
Copy Markdown
Owner

This pull request introduces a major new "Quiz Mode" feature to the form builder, enabling creators to assign correct answers and point values to questions, and providing respondents with scoring and analytics. It also implements automatic form saving and validation when navigating away, and updates the UI to support these new capabilities. Below are the most important changes grouped by theme:

Quiz Mode Feature:

  • Added a comprehensive Quiz Mode, allowing creators to mark fields (Radio, Select) as correct/incorrect, assign point values (0-100), and enable scoring for forms. New UI controls let users toggle Quiz Mode and configure quiz-specific settings. [1] [2] [3] [4] [5] [6]
  • Enhanced the form builder and field editor components (SinglePageFormBuilder, SinglePageCanvas, DraggableField, FieldEditor) to support and display quiz-related properties, including correct answers and points per question. [1] [2] [3] [4] [5] [6] [7]
  • Added a dynamic score results screen for quizzes, showing total score, passing percentage, and visual feedback on correct/incorrect answers. [1] [2]
  • Updated analytics: the Form Responses table now automatically computes and displays respondent scores.

UI/UX Improvements:

  • Implemented auto-save and validation when clicking the Back button in the builder, preventing accidental data loss by ensuring changes are saved before navigation. [1] [2]
  • Updated the HeaderSettings and ScreenEditor components to support quiz-specific labeling and toggling, improving clarity and usability in Quiz Mode. [1] [2] [3]

Documentation and Versioning:

  • Updated CHANGELOG.md to document the new Quiz Mode, auto-save navigation, score results screen, and grade analytics for release 0.1.0.
  • Bumped the project version to 0.1.0 in package.json.

- Add quiz toggle and settings to form header

- Add ability to set correct answers and point values for fields

- Implement quiz scoring logic and result view

- Update FormResponsesPage to display quiz scores

- Extract quiz utilities to fix fast refresh lint errors
@vercel

vercel Bot commented Apr 17, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
formify Ready Ready Preview, Comment Apr 17, 2026 0:30am

@QUBITABHAY
QUBITABHAY merged commit f7bc861 into main Apr 17, 2026
5 checks passed

This branch was successfully deployed

1 active deployment
Preview — dafe9e4b Deployed Apr 17, 2026 by vercel[bot]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant