🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!

Gravity Forms Exam Integrity for Quizzes Setup Guide

Updated 10 min read Gravity Forms Entries & Workflow
On this page
  1. Video walkthrough
  2. What you need
  3. Install and activate
  4. How it differs from other quiz tools
  5. Turn on exam mode
  6. Exam mode settings
  7. Start screen and time limits
  8. One attempt per student
  9. What students see
  10. How the server checks work
  11. The entry record
  12. Merge tags and notifications
  13. Honest limits
  14. Tips
  15. FAQ

Video walkthrough

Gravity Forms Exam Integrity Setup Guide: Block Copy-Paste, Exam Timer & Leave-Window Warnings
Video setup guide: Gravity Forms Exam Integrity Watch on YouTube

The Gravity Forms Exam Integrity for Quizzes add-on adds a per-form exam mode to quizzes and tests built with Gravity Forms. It combines browser controls that deter casual cheating (no copy and paste, warnings when a student leaves the exam, time limits with automatic submission) with checks on your server and a record of what happened, stored on every entry. This guide covers installing it, turning on exam mode, every setting, what students see, how the server checks work, the entry record, notifications and the honest limits of browser-based exam controls.

What you need

You need Gravity Forms 2.9 or newer and WordPress 6.5 or newer on PHP 7.4 or newer. Exam mode works with single-page and multi-page forms, with AJAX and normal submission, and with conditional logic. It works next to your quiz grading: the official Gravity Forms Quiz Add-On or our Survey, Quiz & Poll Tools keep scoring exactly as before. The add-on makes no outside connection beyond checking gravityextra.com for your licence and plugin updates; all exam data stays on your own server.

Install and activate

  • Upload the add-on zip in Plugins → Add New → Upload Plugin and activate it.
  • Go to Forms → Settings → Exam Integrity, enter your GravityExtra licence key and press Activate License.
  • Open any form, then Settings → Exam Integrity to turn on exam mode for that form.

Without an active licence the Exam Integrity tab only shows a note, no exam script is added to your forms and the forms behave as normal forms.

How it differs from other quiz tools

Several tools touch quizzes, and they do different jobs. It helps to know which one does what before you set anything up:

  • The official Gravity Forms Quiz Add-On grades answers, calculates scores and shows results. It has no anti-cheating controls and keeps no record of how the quiz was taken.
  • Our Survey, Quiz & Poll Tools add Likert, ranking and rating fields, graded quizzes with grades and feedback, and polls. Like the official add-on, it scores answers but keeps no integrity log.
  • Our Quiz Proctor protects quizzes inside LearnDash courses only. It does not work on Gravity Forms quizzes.
  • Timer and countdown snippets show a clock on a form. They do not check the time on the server, so a reload or a changed computer clock can reset them, and they record nothing.
  • Exam Integrity for Quizzes (this add-on) does not grade anything. It adds exam controls, server-checked time limits and attempts, and an integrity record to any Gravity Forms form, and it runs side by side with whichever grading tool you use.

Turn on exam mode

Form Settings, Exam Integrity tab: exam mode, the blocked actions, detection of tab switches and full screen, the violation limit and its action, time limits, grace period and late or tampered submissions
The Exam Integrity tab of a form: controls, limit, timers and server checks.

Open the form, choose Settings → Exam Integrity and tick Turn on exam mode for this form. Exam mode is set per form, so a practice quiz can stay open-book while the final test is locked down. The settings are grouped in three sections.

Exam mode settings

  • Block inside the form — copy and cut, paste, the right-click menu, and text selection and drag. Each can be ticked separately. Answer boxes (text inputs and paragraph fields) stay fully editable: students can type, select and correct their own answer. Nothing outside the form is affected, so your site menu and other content work as usual.
  • Count blocked copy, cut, paste and right-click as violations — off by default. Blocked actions are always written to the log, but only count towards the limit when you tick this. Many students right-click out of habit, so counting it is a choice for strict exams.
  • Detect — switching to another tab or window (one switch is counted once, even though the browser reports two events), and leaving full screen. Full screen detection is meant to be used with the start screen below, which puts the exam into full screen.
  • Violation limit — the number of violations after which the action below happens. 0 means no limit: students are warned each time, nothing else happens.
  • When the limit is reached — Warn only, Lock the form (inputs are disabled, and the server also refuses a submission from that attempt, even if someone re-enables the form with browser tools) or Submit the exam automatically (the answers given so far are submitted, and empty required answers are accepted because the server agrees the submit was due).
  • Flag the entry from — how many violations mark the entry as Flagged. The default is 1. Late, forged or blanked submissions are always flagged.
  • Warning text — your own sentence in the warning, for example a reminder of the exam rules. Leave it empty for the default text.

Start screen and time limits

  • Start screen — covers the form with a Start exam button and your text. The clock only starts when the student presses the button, which is fairer for long instructions. Tick Enter full screen when the exam starts to request full screen at the same moment. On a later page or after a reload, a Continue in full screen button appears instead; this is not counted as a violation.
  • Time limit for the form — in minutes, decimals allowed (1.5 is 90 seconds). A countdown bar stays visible at the top of the form and turns red in the last minute. At zero the exam is submitted automatically.
  • Time per page — in seconds, for multi-page forms. At zero the form moves on to the next page by itself; on the last page it is submitted. Use Different time for some pages to give single pages their own time, one page = seconds per line, for example 2 = 90.
  • Grace period — extra seconds the server allows after the time limit for slow connections. The default is 30 seconds.
  • Late or tampered submissions — Save and flag the entry (the default, safe when you prefer to decide later) or Refuse the submission (the student sees a clear message and nothing is saved).
The countdown bar at the top of an exam form showing the time left while a student answers the questions
A visible countdown; at zero the exam is submitted automatically.

One attempt per student

In the Attempts section choose One attempt per logged-in user or One attempt per e-mail address and pick the e-mail field of the form. The check runs on the server against the saved entries of the form. E-mail addresses are compared without regard to upper and lower case and are stored on the entry only as a one-way key, never in plain text in the attempt record. With the per-user option, visitors who are not logged in see a Please log in message, and a student who already took the exam sees You have already taken this exam instead of the form. To allow a retake, move the student’s entry to the trash.

What students see

A biology midterm in exam mode with the warning shown after a tab switch: You switched to another tab, Violation 1 of 3, Back to the exam
The warning a student sees after switching tabs, with the violation counter.

When exam mode is on, the student sees the normal form with a countdown bar if there is a time limit. Copying the question text or pasting into an answer shows a short note that these actions are turned off. Leaving the tab or window shows a warning when they come back, with the reason and the counter, for example Violation 1 of 3, and a Back to the exam button. Leaving full screen shows a Return to full screen button. When the limit is reached the form locks with a message to contact the teacher, or it submits itself, depending on your setting. All texts can be translated with the usual WordPress translation tools.

How the server checks work

Browser controls alone are easy to switch off, so the parts that matter are checked on your server:

  • Signed start time — when the exam starts, the server records the start time and signs it with a secret key that never leaves your site. The countdown is calculated from that server time, so reloading the page, opening the form again in the same browser or changing the computer clock does not reset it.
  • Time limit on submit — the server compares its own elapsed time with the limit plus the grace period. A time claimed by the browser is stored for reference but never trusted. A late submission is flagged or refused.
  • Forged tokens — a start token whose time was changed, which belongs to another form or which is missing fails the signature check and is flagged or refused.
  • Signed violation log — every violation is sent to the server, which keeps its own copy and returns a newly signed log. A blanked or forged log fails the check; an older log sent back to hide later violations is detected because the server copy has more events. In every case the server copy is the one stored on the entry.
  • Lock and attempts — a locked attempt and a second attempt are refused on the server, whatever the browser sends.

The entry record

The Exam integrity box on an entry: status Flagged, violations, time taken, started and finished, auto-submitted and the event log with times and pages
The integrity record stored on every entry, with the full event log.

Every submitted exam stores an integrity record on the entry: the status (Clean or Flagged) and the reasons, the number of violations, each event with its type, time and page, the time taken, the start and finish times and whether the exam was auto-submitted (time limit, page time or violation limit). Open an entry to see the Exam integrity box with the full event log.

In Forms → Entries the Exam status and Exam violations columns show the result at a glance. Use the entry filter Exam status is Flagged to list only the entries that need a closer look, or filter by the number of violations or the time taken. The values are also available in exports.

Merge tags and notifications

Use these merge tags in confirmations and notifications: {exam:status} (Clean or Flagged), {exam:violations}, {exam:time} (for example 12 min 05 s) and {exam:log} (one line per event). The record is saved before notifications are sent, so every notification can use them. To alert a teacher, create a notification and choose the event Exam flagged (Exam Integrity): it is sent only when an entry is flagged, for example with the student name in the subject and {exam:log} in the message.

Honest limits

Exam mode deters casual cheating and records what happened in the browser. It cannot see a second device, a phone camera, a printed sheet or another person in the room, and a determined user with technical skills can disable browser controls (the server checks then flag or refuse the submission, but they cannot know what happened outside the browser). There is no webcam or screen recording proctoring. A visitor who is not logged in can start over by clearing the browser cookies; use the one-attempt options for graded exams. Treat a Flagged status as a reason to look closer and talk to the student, not as proof.

Tips

  • Run your exam once yourself before the class does, ideally on a phone and a laptop.
  • Explain the rules in the start screen text: which actions are blocked and what happens at the limit.
  • For long exams use a generous grace period, and choose Save and flag so a slow connection never loses an exam.
  • Combine a short time per page with a total time limit for question banks where answers should not be looked up.
  • Keep Count blocked actions off for younger students, who often right-click without thinking.

FAQ

Does exam mode change my quiz scores? No. It does not touch grading; the scores from your quiz add-on are calculated exactly as before.

Does it work with multi-page and AJAX forms? Yes. The attempt, the countdown and the log carry over from page to page, with AJAX or normal page loads.

What happens if the student’s connection drops? The countdown keeps running in the browser, because it is based on the start time the server signed. A violation that happens while the connection is down is still shown to the student, but if it cannot reach your server it is not part of the server record. The grace period covers slow submissions.

Can students use a phone? Yes. The controls work on phones and tablets, although full screen behaves differently there; tab switching is still detected.

Does the add-on use outside services? No. Everything runs on your server. The only outside requests are the licence and update checks to gravityextra.com.

What is removed when I uninstall? The add-on’s settings, its secret key and open attempts. Your forms and entries, including their integrity records, are kept.

Still need help?

Our support team answers tickets every day, usually within a few hours.

0
0
Your Cart
Your cart is emptyReturn to Shop
🔥 FREQUENTLY BOUGHT TOGETHER
Complete Combo & Save 40%!
ITEM IN YOUR CART
Gravity Forms Klaviyo Add-on
$39.00/yr
+
🎁 RECOMMENDED ADD-ON SAVE 40% OFF
Original Price: $39.00/yr
Bundle Special Price: $23.40/yr