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

Gravity Forms Class Attendance Register Setup Guide

Updated 10 min read Gravity Forms Integrations A–Z
On this page
  1. Video walkthrough
  2. What you need
  3. Install and activate
  4. The roll page
  5. Add a class
  6. How the roster follows your entries
  7. Add sessions
  8. Take the roll on a phone
  9. Who can take which roll
  10. Absence e-mails and the reason link
  11. Alerts for absences in a row
  12. Reports and CSV
  13. Merge tags
  14. How it differs from other GravityExtra add-ons
  15. Privacy and data
  16. Frequently asked questions

Video walkthrough

Gravity Forms Class Attendance Register Setup Guide: Rolls, Absence Emails & Reports
Video setup guide: Gravity Forms Class Attendance Register Watch on YouTube

The Gravity Forms Class Attendance Register add-on turns the registration entries you already collect with Gravity Forms into class registers. A class is a registration form plus a filter, so its roster follows your entries. You add one session or a weekly schedule, your leaders take the roll on their phone, absences can send an e-mail to the contact on the registration with a link to give a reason, the organiser is alerted after repeated absences, and the Report tab shows attendance rates per person, class and month with CSV export. This guide covers installation, classes, sessions, the roll, absence e-mails, alerts, reports, merge tags, privacy and the questions organisers ask most.

A class in Forms, Class Attendance: the registration form, the filter Class equals under-9s, the name and contact fields, the leader, the usual time, the absence options and the alert threshold, next to the Add sessions form with weekdays, dates and skipped dates and the list of weekly sessions
A class built from a registration form and a filter, with a weekly schedule on Tuesdays and Thursdays.

What you need

  • WordPress 6.5 or newer and PHP 7.4 or newer.
  • Gravity Forms 2.9 or newer (tested with 2.9 and 3.1).
  • A GravityExtra license key for this add-on.
  • A registration form. It needs a field that tells which class a registration belongs to (for example a Drop Down, Radio Buttons, Checkboxes or Hidden field called Class), a Name or Single Line Text field with the person’s name and, for absence e-mails, an Email field for the contact (a parent, carer or the member).

Install and activate

  1. Download the add-on zip from your GravityExtra account and upload it in Plugins → Add New → Upload Plugin.
  2. Activate Gravity Forms Class Attendance Register. Activation adds a WordPress role called Class leader.
  3. Open Forms → Settings → Class Attendance, paste your license key and click Activate License.

Until the license is active the add-on does nothing: the Class Attendance screen shows a notice, the roll page shows nothing, reason links are not served and the merge tags stay empty. Your registration entries are never changed.

The roll page

Leaders take the roll on an ordinary WordPress page that contains the shortcode [gf_class_attendance]. The first time you open Forms → Class Attendance you see a button Create the roll page: it publishes a page called Attendance with the shortcode and selects it in Forms → Settings → Class Attendance → Roll page. You can also add the shortcode to a page of your own and select that page.

The page is safe to publish. A visitor who is not logged in only sees a log-in button. A logged-in user who is not a manager or a leader of the class sees a short “no access” message. Names are only shown to people who may take that roll, and the page is sent with no-cache and no-index headers so it is never kept by a page cache or a search engine.

Add a class

  1. Open Forms → Class Attendance and click Add class.
  2. Type the class name, for example Under 9s Football, choose the Registration form and click Create class.
  3. Choose who belongs to the class: Members are entries where Class = under-9s. The value box suggests the choice values of your form. For a Checkboxes field, any ticked choice can match. Leave the field empty to put every entry of the form on the roster.
  4. Pick the Name of the person field and the Contact e-mail field.
  5. Tick the Leaders. Users with the Class leader role, editors and administrators who can take rolls are listed.
  6. Set the Usual time (it fills the session form), the Absences options and Alert the organiser after a number of absences in a row, with the organiser’s e-mail. Click Save class.

How the roster follows your entries

The roster is the list of active entries of the form that match the filter. It is refreshed when an entry is submitted, edited, trashed, restored or marked as spam, when you open the class screen and when a leader opens a roll. A new registration joins the class. A registration that is withdrawn (the class field changed), trashed or marked as spam leaves the roster with the date it left. Its earlier attendance stays in the reports with a “left” label, so nothing you recorded is lost. Someone who leaves before their first roll is simply taken off the roster. If the entry comes back, the person is active again. Only when an entry is deleted for good are its attendance records deleted too.

Add sessions

Below the class settings you find Add sessions:

  • Every week: tick the days of the week, choose the first and the last date and, if you need, list the dates to skip (holidays, closures, a hall booked for something else) separated by commas or one per line. A schedule on Tuesdays and Thursdays from 3 November to 10 December with 19 November skipped makes eleven sessions.
  • One session: a single date, for example an extra training or a tournament day.

Every session has a start and end time and its own leaders (the class leaders are ticked for you). A session that already exists on the same date and start time is never added twice, so you can run the same schedule again safely. In the Sessions list each session shows its roll counts; use Roll to open it in the admin and Cancel for a session that does not take place. Cancelled sessions cannot take a roll and never count in the rates; Restore brings them back.

Take the roll on a phone

The roll on a phone: the class and date, a saved message, Mark all present, the live counts and one card per child with Present, Absent, Late and Excused buttons and a note
The roll on a phone: one tap per person, a note where needed, then Save roll.

A leader logs in and opens the roll page. Your sessions lists today’s sessions first, then the coming week and the last two weeks, with a badge for rolls not taken yet. Tapping a session opens its roll:

  1. Tap Mark all present when most people are there.
  2. Change the exceptions: Absent, Late or Excused. The counts at the top update as you tap.
  3. Open Note under a name to add a short note, for example “collected early”.
  4. Tap Save roll. A message shows the number of changes, absence e-mails sent and alerts.

You can open the roll again at any time to correct it. Every change after the first save is written to the change log of the session with the old and the new value, the person who made it and the time. Managers see the change log under the roll in the admin; leaders see it under the roll once it has been taken.

Who can take which roll

  • Administrators and users with the gfattendance_manage capability set up classes, see reports and can take every roll.
  • Class leaders (the role, or any user with the gfattendance_take_roll capability) take the rolls of the classes and sessions they are named on, and nothing else. They do not see the admin screens or the reports.
  • Everybody else, logged in or not, sees no names. A forged save request without access is refused with HTTP 403.
The absence e-mail sent by Gravity Forms to a parent: the child was marked absent from Under 9s Football on a date and time, with a link to give the reason and the attendance rate this term
An absence e-mail built with the attendance merge tags and the signed reason link.

Absence e-mails are ordinary Gravity Forms notifications of your registration form, so you write the text, choose the sender and use any field merge tag:

  1. Open the registration form’s Settings → Notifications and add a notification.
  2. Set Event to Class attendance: marked absent.
  3. Set Send To to the contact e-mail field.
  4. Write the message with the tags below, for example: {Child’s name (First):1.3} was marked absent from {attendance:class} on {attendance:date} ({attendance:time}). Please let us know the reason: {attendance:reason_url}.

The notification is sent once for each absence, when the roll is saved. Changing a mark to Absent later sends it then; correcting an Absent mark to Present does not send anything. Untick Send the notifications in the class to switch absence e-mails off for that class.

The reason link opens a small page with the class and the session date (no name) and a box for the reason. The reason is stored on the attendance record, logged as coming from the contact and shown to the leader on the roll (“reason given”) and in the CSV. The link contains only the number of the record and a signature: if any part of it is changed, the page answers “This link is not valid” (HTTP 403). In Forms → Settings → Class Attendance you can make a new link key, which stops every reason link sent so far.

Alerts for absences in a row

In each class you choose Alert the organiser after a number of absences in a row (3 by default, 0 switches it off) and the organiser’s e-mail (the site e-mail if empty). When a person reaches that number, the organiser receives one e-mail with the name, the class, the latest sessions and whether a reason was given, plus a link to the report. Excused sessions are passed over: they neither count nor end the run. Present or Late ends it. One run of absences gives one alert, even when the roll is corrected later.

Reports and CSV

The Report tab for Under 9s Football: attendance rate, sessions, attended, absences and excused cards, then a table per person with present, late, absent, excused, rate and absences in a row, and a table per month
The report: rates per person and per month, with the current run of absences highlighted.

The Report tab shows one class or all classes between two dates: the attendance rate, the number of sessions with a roll, attended sessions, absences and excused sessions, then a table per person, per class and per month. The rule is simple and written under the table:

  • Present and Late count as attended.
  • Absent counts as missed.
  • Excused is left out of the rate.
  • Rate = attended ÷ (attended + absent), rounded to one decimal. A class or month rate pools every mark; it is not the average of the personal rates.
  • Cancelled sessions never count.

For example, a child who was Present four times, Late once and Absent once has 5 of 6 counted sessions, so 83.3%. CSV per person exports the person table; CSV of every mark exports each mark with the date, time, class, name, status, note and reason. Cells that start with =, +, – or @ are protected so a spreadsheet does not run them as formulas.

Merge tags

  • {attendance:rate} – attendance rate, for example 85.7%.
  • {attendance:present} – sessions attended (present + late).
  • {attendance:absent} and {attendance:sessions} – absences and sessions marked.
  • {attendance:class}, {attendance:date}, {attendance:time}, {attendance:reason_url} – the class, session and reason link of the absence being notified.

In an absence e-mail the counts cover that class. Anywhere else, for example in an end-of-term notification or a certificate, they cover every class the registration is on.

How it differs from other GravityExtra add-ons

  • Visitor Sign-In & Roll Call logs visitors who arrive at and leave a site. Class Attendance keeps a register of the same members over many scheduled sessions.
  • Event Tickets & QR Check-in checks a ticket in once at an event. Class Attendance follows each person across a term and reports rates and absences.
  • Certificates issues certificates. Class Attendance gives you the {attendance:rate} and {attendance:present} numbers to put on them.
  • Gravity Forms itself has no attendance register.

Privacy and data

Attendance records can be about children, so the add-on keeps them to the people who need them. Only managers and the leaders of a class see names; the roll and reason pages are never cached or indexed and send no referrer; links contain numbers and signatures, never a name or an e-mail address; and no data leaves your server (the only outside requests are the licence and update checks with gravityextra.com). Attendance is kept in the add-on’s own tables until the registration entry is deleted for good. Uninstalling the add-on removes its tables, settings and the Class leader role; your registration entries stay.

Frequently asked questions

Can one registration be in several classes? Yes. Each class has its own filter, so a child registered for football and swimming (for example with a Checkboxes field) appears in both registers, with separate rates.

Can parents see the register? No. Parents only see the reason page of their own absence link, which shows the class and date.

Do leaders need to use the admin? No. Give them the Class leader role and the roll page link. They never see the WordPress admin screens of the add-on.

What happens if two leaders save the same roll? For each person the last save counts, and every change after the first save appears in the change log with the leader’s name, so you can see who changed what.

Can I take a roll for a past session? Yes. Open it from the Sessions list or from “Your sessions” (the last two weeks are listed). Absence e-mails are sent when the absence is saved.

How do I stop absence e-mails for one class? Untick the notification option in the class, or add conditional logic to the notification in Gravity Forms.

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