CustomGFormCustomGForm
Documentation
πŸ“š How to guides

How to Add a Timer to Google Forms

Google Forms is one of the world's most popular platforms for creating classroom quizzes, candidate recruitment screening tests, certification exams, and academic assessments. However, Google Forms provides no native countdown timer or time limit feature.

Educators, HR recruiters, and assessment providers face critical vulnerabilities when administering un-timed tests:

  • No deadline enforcement: Students can take hours to complete a 30-minute exam.
  • Widespread cheating & searching: Without time limits or copy restrictions, test-takers easily open new tabs, Google answers, and paste text into questions.
  • Cumbersome Google Workspace add-ons: Traditional tools like Form Timer, Quilgo, or Extended Forms require heavy Workspace installations, OAuth permissions, or force students onto external third-party portals with confusing links.

Using CustomGForm, you can add a tamper-resistant countdown timer and anti-cheating suite to any Google Form in minutesβ€”with zero Workspace add-ons installed.


Native Google Forms vs CustomGForm vs Add-ons

FeatureNative Google FormsForm Timer / Quilgo / Add-onsCustomGForm Timer
Countdown Timer❌ Noneβœ… Yesβœ… Yes (Floating responsive pill)
Workspace Add-on Needed?N/A⚠️ Yes (Heavy permissions)❌ No add-on required
Auto-Submit on Expiration❌ No⚠️ Sometimes (Depends on tool)βœ… Yes (Immediate auto-submit)
Page Refresh Exploit Protection❌ No⚠️ Flakyβœ… Yes (Scoped timestamp delta)
Tab-Switch Proctoring & Strikes❌ No⚠️ Requires external portalβœ… Yes (Blur tracking & strike limits)
Copy & Text Selection Blocker❌ No❌ Noβœ… Yes (user-select: none, right-click blocked)
Paste Prevention on Answers❌ No❌ Noβœ… Yes (Blocks clipboard paste)
Server-Verified Audit Trail❌ No⚠️ Proprietary dashboard onlyβœ… Yes (Hidden Google Sheets fields)
Zero Extra Bundle SizeN/AN/A⚑ 0 KB for untimed forms (Dynamic load)

Key Proctoring & Anti-Cheating Capabilities

1. Tamper-Proof Time Synchronization

Relying solely on local client device time allows students to change their operating system clock to gain extra time. CustomGForm calculates time offsets against a secure server clock upon form initialization (/api/time), neutralizing device clock tampering.

2. Refresh & Inactive Tab Resilience

Timers do not rely on a simple let secondsLeft = 1800 variable that resets on refresh. CustomGForm records the absolute expiration timestamp in scoped browser storage. Furthermore, because modern browsers aggressively throttle JavaScript background timers (setInterval) when tabs are inactive, CustomGForm uses monotonic timestamps (performance.now()) and visibilitychange listeners to immediately resynchronize the remaining time the moment the student switches back.

3. Automatic Form Locking & Submission

When the countdown hits zero:

  1. All form fields, options, and textareas are immediately disabled to prevent further input.
  2. A "Time's up! Saving your answers..." status overlay appears.
  3. CustomGForm programmatically submits answers to your Google Sheet with an exponential-backoff retry loop to safeguard against slow or unstable student connections.

4. Anti-Copy & Focus Tracking

  • Block Copy & Right-Click: Disables right-click context menus, question highlighting, and keyboard shortcuts (Ctrl+C, Cmd+C).
  • Tab Switching & Strike Limits: Records every time a respondent switches tabs or loses window focus. Set a strike threshold (e.g., 3 strikes) to automatically disqualify or auto-submit the exam upon limit breach.
  • Prevent Pasting: Disallows pasting copied external content into text answer boxes.

5. Hidden Audit Fields in Google Sheets

Every submission records verified proctoring metadata into your results:

  • timeStarted: Exact timestamp the student opened the test.
  • timeSubmitted: Timestamp the test was submitted.
  • durationSeconds: Total elapsed test duration.
  • tabSwitchesCount: Number of times the tab lost focus.
  • timeAwaySeconds: Total duration spent away from the assessment tab.
  • isAutoSubmitted: Whether the submission was triggered by timer expiration.

Step-by-Step Guide: Setting Up a Google Form Timer

Step 1: Connect Your Google Form

  1. Copy your public Google Form link (the responder URL ending in /viewform).
  2. Log into CustomGForm and click Connect Google Form.
  3. CustomGForm automatically imports your form layout, fields, and options.

Step 2: Enable the Form Countdown Timer

  1. In the form editor sidebar, scroll down to the Form section (directly below Capture partial submissions).
  2. Toggle on Form countdown timer.
  3. Set your Duration in minutes (e.g., 30 minutes for a test, 45 for an exam).
  4. Set the Warning threshold (e.g., 1 or 5 minutes). The floating timer pill will pulse amber to notify the respondent as time runs short.
  5. Keep Auto-submit when time expires checked.

Step 3: Configure Anti-Cheating & Proctoring Options

Under the timer settings, customize your test integrity rules:

  • Check Block copy & text selection to disable question copy-pasting.
  • Check Track tab switching & focus loss to monitor departures from the test window.
  • Set Max tab switches allowed (e.g., 3 strikes before automatic submission, or 0 for audit logging only).
  • Optionally check Prevent pasting in text answers to ensure written responses are authored directly.

Step 4: Share or Embed Your Timed Quiz

Click Save changes and navigate to the Share tab:

  • Direct Link: Share the hosted timed assessment link with students or candidates.
  • Embed on Website: Embed the timed form onto your school LMS, WordPress site, Webflow, or custom React application with responsive mobile support.

Plan Availability

The Form Countdown Timer and Proctoring Suite is available on Starter and Pro plans.

Learn More



On this page