🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Guides & Tutorials October 22, 2026

How to Enroll Students in MasterStudy LMS Courses From a Gravity Forms Form

GravityExtra
How to Enroll Students in MasterStudy LMS Courses From a Gravity Forms Form

A course site lives on two things: getting people in, and knowing what happens to them. Gravity Forms is excellent at the first part, with forms for applications, free trials, intake questions and paid sign-ups. MasterStudy LMS is a free learning management plugin that holds the courses, the lessons, the quizzes and the students. The gap between them is the moment after a form is sent: someone has to create the account, open the right course and tell the student. This guide shows how to connect the two so that a Gravity Forms form enrolls students in MasterStudy LMS courses by itself, and how to react when a student completes a course.

A Gravity Forms form whose drop down lists the MasterStudy LMS courses: Photography Basics, Portrait Lighting Masterclass and Street Photography Field Guide marked paid with their price, and Quick Start Lens Guide
The drop down is filled by the add-on with your published courses, paid ones with their price.

The Problem With Doing It by Hand

Many small schools start the same way. A form collects name and email. Someone reads the entries every morning, creates a user in WordPress, opens the students screen of MasterStudy LMS and adds the course. It works for five students a week. It breaks at fifty, and it breaks on the first Monday after a holiday. People wait for access, the wrong course is opened, or an account is created twice with two different emails.

The Gravity Forms Student Enrollment Premium Add-on from GravityExtra does that work for you. A feed on the form creates or finds the account and enrolls it in the courses you choose, using the same functions that MasterStudy LMS uses when an instructor adds a student by hand. The student counter of the course goes up and the plugin keeps its own records, exactly as if you had clicked the button yourself.

What You Need

  • Gravity Forms with a form that has at least an email field.
  • The free MasterStudy LMS plugin from the WordPress plugin directory, with at least one published course.
  • The Gravity Forms Student Enrollment Premium Add-on.

Step 1: Decide Who Gets Enrolled

The first choice is the student. For a public form, the default is right: a visitor gets a new account made from the email in the form, and a logged-in user is enrolled directly, with no second account. If a form is only for people who already have an account, choose the option that enrolls only the logged-in user, and visitors are skipped with a note. If every submission should make a fresh account, choose that instead.

Then decide what happens when a visitor types an email that already belongs to an account. The safe default is to refuse: nobody is enrolled and the entry gets an error note. This matters more than it looks. If a form could change an existing account, anybody could type the email of an administrator and change a password or a role. The add-on never takes over another account. When you allow existing emails, the account only gains the enrollment, and its name, password and role stay exactly as they were.

The student enrollment feed settings in Gravity Forms: who is enrolled, the account fields, the list of courses, the payment option and the choices section
One feed: who is enrolled, which courses, and how the choices are listed.

Step 2: Keep Roles Safe

A new account gets the WordPress default role unless you choose another one, and the list holds only safe roles. Administrator, the Instructor role of MasterStudy LMS, Editor and any role that can edit users, list users, install plugins, edit posts or upload files are never offered, and they are refused even if a feed was saved with one by code. This matters on a school site, because the Instructor role can create and edit courses, and nobody should get it by filling in a form.

Step 3: Choose the Courses

You have two ways to say what the student gets. The first is a fixed list: tick the courses in the feed and everybody who sends the form gets them. That fits an application you approve, a free taster course, or a form on the page of one course.

The second way is a choice field. Let the student pick a course in a drop down, radio buttons or check boxes. The answers may be ids or titles. Only published courses can be enrolled, and if you tick courses in the feed, only those can be picked. A forged request that names a draft course or something outside your list does nothing but add an error note to the entry.

You do not have to build the choices by hand. In the Choices section pick the field and the add-on fills it with your published courses, for example Photography Basics and Quick Start Lens Guide. A paid course carries its price in the label, so the student sees what a course costs before choosing. A new course shows up in the form as soon as you publish it.

Step 4: Think About Payment

A form that sells a course should not enroll before the money arrives. MasterStudy LMS keeps a price mode for each course: free, paid or affiliate. The add-on treats paid and affiliate courses as paid. If you use a payment add-on with Gravity Forms, tick the option in the feed to enroll only when the payment is completed. The account is made and the enrollment happens at that moment.

As a second guard, a paid course picked in a field is never enrolled for an entry that is not paid, whatever the form says. If your form offers courses that MasterStudy LMS shows as free, tick the payment option of the feed and every picked course needs a paid entry. If your form takes no payment because you review applications, use a fixed list.

Step 5: Know What Happened

The entry itself tells the story in its notes: the student account that was made, each course that was enrolled with the MasterStudy LMS enrolment function, and the reason for anything that was not, such as a student who was already enrolled or a course that is paid and not paid yet. Nobody has to guess whether the form did its job.

React When a Course Is Completed

Enrollment is half of the story. The other half is what you do when a student finishes. The add-on has a second kind of feed for that. It does nothing when a form is sent. It runs when MasterStudy LMS reports that a student reached a progress of 100 percent in a course.

The course completed feed settings: the courses to watch, the entry and notification options and the entry field map
The second feed type reacts when a student completes a course.

With a course completed, the feed can add an entry to a form, and the entry is owned by the student. Map the student name and email, the course title and link, the instructor and the date. Use that form as a certificate request, a feedback survey or a testimonial request. Send the notifications of the form, for example an e-mail that congratulates the student and asks what they thought, using the form merge tags.

The feed counts a completion once for each student and course. If an instructor resets the progress of a student in MasterStudy LMS, or removes the student from the course, a later completion counts again. If you add a lesson to a course that a student already finished, the student does not create a second entry. Choose the courses to watch, or watch all of them, and add conditions that look at the values that would go in the entry.

Merge Tags for Confirmations and E-mails

The add-on gives you five merge tags for the confirmation and the notifications of the same form: the title, link and id of the course, the name of its instructor, and the username of the student. A confirmation can say that the student is enrolled in the course and give the link to open it. If a student joins two courses, the tags list both. If nothing was enrolled the tags are empty and never show raw braces.

A Few Practical Setups

  • A free taster: a form on the course page, a fixed list with the taster course, a new account for the visitor and the standard WordPress e-mail to set a password.
  • An application: a form with questions, a feed with a condition on a status field, and enrollment only when you approve.
  • A paid sign-up: a payment add-on, the feed set to enroll when the payment is completed, a choice field with your courses and their prices.
  • A certificate request: a completion feed that adds an entry to a form with the course title and the date, and notifies your team.
  • A next step offer: a completion feed that sends an e-mail with the link of the next course.

Questions People Ask

Do I need MasterStudy LMS Pro?

No. The add-on works with the free MasterStudy LMS plugin.

Will MasterStudy LMS still send its own e-mails?

Yes. The add-on enrolls through the MasterStudy LMS enrolment function, so the settings and actions of MasterStudy LMS apply as for any enrollment.

Is it safe to put this on a public form?

The add-on never takes over an existing account, never hands out a role that can manage the site or the courses and never enrolls in a draft or a course outside your list. A paid course needs a paid entry when a student picks it.

Does it send my data to another service?

No. Everything happens on your own site. Only the license check talks to gravityextra.com, when you press Activate.

Student Enrollment is part of the GravityExtra collection of Gravity Forms add-ons. See the Gravity Forms Student Enrollment Premium Add-on for the details, or read the setup guide in the documentation.

See the Student Enrollment add-on

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