LifterLMS Gravity Forms: Lesson Forms, Registration and Entries

What the LifterLMS Gravity Forms add-on does: require a form before a lesson can be completed, replace registration and account forms with User Registration feeds, see entries in reporting, and hook into submissions with code.

  • Add as a preferred source on Google
Illustration for “LifterLMS Gravity Forms: Lesson Forms, Registration and Entries”

Gravity Forms is the form plugin many serious WordPress sites already own, and it pairs well with an LMS. Course creators use it to collect intake questionnaires, signed agreements, reflection journals, file uploads and detailed registration data that the standard LifterLMS forms do not ask for.

The LifterLMS Gravity Forms add-on joins the two. This guide explains what the add-on does and does not do, how to set up required lesson forms and custom registration, and where custom code or another plugin is the better tool. It is for site owners and developers who already use, or are about to buy, Gravity Forms.

Two licences are involved. The add-on is sold by LifterLMS and does not include Gravity Forms, which you buy from Gravity Forms. Replacing registration forms also needs the Gravity Forms User Registration add-on, which at the time of writing requires a Gravity Forms Elite or Nonprofit licence.

What the LifterLMS Gravity Forms add-on does

  • Lesson forms that gate progress. Put a Gravity Form on a lesson and decide whether the student must submit it before the lesson can be marked complete.
  • Custom registration and account forms. Replace the LifterLMS registration, checkout registration and account update forms with Gravity Forms that use User Registration feeds.
  • Entries in LMS reporting. LifterLMS describes the add-on as bringing form entries into LMS reporting, so you can see a student's submission alongside their progress.
  • Developer hooks. An action fires when a lesson form is completed, and filters control redirects after submission.

What it does not do: it does not turn Gravity Forms into a quiz engine or a graded assignment tool, and it does not enroll people in courses from any form you like. Those jobs belong to LifterLMS quizzes, the Assignments add-on, or an automation plugin, covered further down.

Installing and enabling the integration

  1. Install and activate Gravity Forms.
  2. Install the add-on from LifterLMS > Add-ons & More with your license key, or upload the zip from your LifterLMS account.
  3. Go to LifterLMS > Settings > Integrations and open the Gravity Forms section.
  4. Enable the integration and save. The add-on does nothing until this is switched on.

The LifterLMS Gravity Forms getting started guide lists the current version requirements. At the time of writing they are LifterLMS 6.0, WordPress 5.6 and PHP 7.4 or later.

Requiring a form before a lesson is complete

This is the main reason most sites buy the add-on. Typical uses are a pre-course intake form, a liability waiver before a practical module, a reflection after each lesson or a project upload a coach reviews.

Add the form to the lesson

Build the form in Gravity Forms, then place it in the lesson content with the Gravity Forms block or shortcode. When the lesson is saved, the add-on records that the lesson has a form. Keep one form per lesson so it is clear which submission counts.

Decide whether submission is required

The requirement can be set at three levels, and the most specific one wins.

LevelWhereOptions
Site defaultLifterLMS > Settings > Integrations > Gravity Forms, Lesson CompletionForm submission is required for lesson completion or Form submission is optional
CourseCourse Options meta box, Gravity Forms tabUse the site default, or make every lesson form in the course required or optional
LessonLesson Settings meta box, Gravity Forms tabUse the site default, use the course setting, or set this lesson to required or optional

A sensible pattern is "optional" as the site default and "required" on the specific lessons where the form matters, such as a waiver. That way a form added later for feedback does not accidentally block students.

What students experience

On a required lesson the student submits the form, then completes the lesson. Test the full path as a student on staging, including the confirmation message, because the form's confirmation settings decide what the student sees right after submitting. If you use AJAX submission, the add-on can redirect after the confirmation, controlled by the filters below.

If you need graded work with instructor feedback, a Gravity Form is the wrong tool. Use the LifterLMS Assignments add-on, described in our LifterLMS assignments guide.

Custom registration and account forms

LifterLMS already has a block-based form editor for its registration, checkout and account forms, and you can add fields there. Our guides to LifterLMS registration and account forms and custom fields on LifterLMS forms cover that route. Choose Gravity Forms instead when you need conditional logic, multi-page registration, file uploads, calculated fields or Gravity Forms' own add-ons at sign-up.

The four forms you can replace

Under LifterLMS > Settings > Integrations > Gravity Forms, the User Management Forms section has four dropdowns:

SettingShown toUser Registration feed action
Checkout Registration FormLogged-out visitors at checkoutCreate User
Checkout Update FormLogged-in students at checkoutUpdate User
Open Registration FormVisitors, when open registration is enabledCreate User
Account Update FormStudents on the account tab of the dashboardUpdate User

Setting up a registration form

  1. In Gravity Forms, create a form from the User Registration template and add your extra fields.
  2. Add a User Registration feed with the Create User action and map the username, email, password and name fields.
  3. In the feed's user settings, set the role to Student.
  4. Turn off user activation, so the new user is logged in straight away and can carry on to payment.
  5. Back in LifterLMS, choose the form in the matching dropdown and save.

The checkout form itself, with the payment fields, cannot be replaced. With a Gravity Forms registration form, checkout becomes two steps: the visitor completes the registration form, is logged in, then sees the LifterLMS checkout to pay or confirm a free enrollment. LifterLMS engagements tied to registration still fire for users created this way. Details are in the custom registration forms documentation.

A two-step checkout can lower conversion on paid courses. Use it where the extra data is worth that cost, and keep the first step short.

Hooks for developers

The add-on documents an action, llms_gform_lesson_form_completed, which passes the Gravity Forms entry, the form and the lesson ID. It also documents filters including llms_gform_ajax_redirect_url and llms_gform_ajax_redirect_delay for redirects after an AJAX submission.

A common request is to tell the course's instructors when a student submits a lesson form. This snippet does that with real LifterLMS methods. Put it in a small custom plugin, not in the theme:

add_action( 'llms_gform_lesson_form_completed', 'llmsx_notify_instructors_of_lesson_form', 10, 3 );

function llmsx_notify_instructors_of_lesson_form( $entry, $form, $lesson_id ) {
	$lesson = llms_get_post( $lesson_id );
	if ( ! $lesson || ! is_a( $lesson, 'LLMS_Lesson' ) ) {
		return;
	}

	$course = $lesson->get_course();
	if ( ! $course ) {
		return;
	}

	$student = get_userdata( absint( $entry['created_by'] ?? 0 ) );
	$name    = $student ? $student->display_name : __( 'A student', 'llmsx' );

	$subject = sprintf( '%s submitted the form on "%s"', $name, get_the_title( $lesson_id ) );
	$link    = admin_url( 'admin.php?page=gf_entries&view=entry&id=' . absint( $form['id'] ) . '&lid=' . absint( $entry['id'] ) );

	foreach ( $course->get_instructors( true ) as $instructor ) {
		$user = get_userdata( $instructor['id'] );
		if ( $user ) {
			wp_mail( $user->user_email, $subject, "View the entry:\n" . $link );
		}
	}
}

The add-on also adds a form-completed trigger to LifterLMS engagements, so for a simple thank-you email or an achievement you may not need code at all. See LifterLMS engagements and automated emails.

Other ways to connect Gravity Forms and LifterLMS

Sometimes the job is not "gate a lesson" but "do something in LifterLMS when any form is submitted".

  • Enroll from a form. Uncanny Automator connects Gravity Forms triggers to LifterLMS actions. Its free version can mark lessons and sections complete. Enrolling a user in a course or membership needs Automator Pro. Our guide to LifterLMS and Uncanny Automator covers recipes.
  • Sell through Gravity Forms. If a Gravity Forms payment form must grant course access, have a small plugin call llms_enroll_student() after the payment is confirmed. Do not enroll on submission alone when payment is involved.
  • Zapier. Zapier has both apps, but for anything that grants access we prefer a direct WordPress-side connection you can log.

Common mistakes

  • Required by default everywhere. Setting the site default to required means any form added later, even a feedback survey, blocks progress. Require forms per lesson.
  • User activation left on. With activation on, a new user is not logged in after the registration form and cannot reach the payment step.
  • Wrong feed action. A Create User feed on an update form fails for logged-in students. Match the action to the table above.
  • Two forms on one lesson. It becomes unclear which submission satisfies the requirement. Use one.
  • Sensitive uploads in a public folder. Gravity Forms file uploads are stored in the uploads directory. Treat waivers and ID documents with your data retention policy in mind.
  • Not testing as a student. Admins bypass many LifterLMS restrictions. Test with a real student account.

Frequently asked questions

Does the LifterLMS Gravity Forms add-on include Gravity Forms?

No. You need your own Gravity Forms licence. The LifterLMS add-on only connects the two.

Do I need the User Registration add-on?

Only to replace LifterLMS registration, checkout registration or account forms. Lesson forms work without it.

Can a Gravity Form replace the whole LifterLMS checkout?

No. You can replace the registration and customer information parts. Payment stays on the LifterLMS checkout.

Can I use Gravity Forms as a quiz?

Not in a way LifterLMS grades. Use LifterLMS quizzes for scored assessments and Gravity Forms for data collection.

What to do next

Pick one lesson where a form really matters, such as an intake form or waiver, make it required on that lesson only, and test it end to end with a student account. Add custom registration later, once you know which extra fields you actually use.

If you need form submissions to drive enrollment, reporting or a CRM, our LifterLMS integrations service builds and tests those connections. Describe your forms and course flow and we will recommend the simplest setup.

Add LifterLMS Expert to your preferred sources

Add lifterlmsexpert.com as a preferred source on Google, or open this article in your AI assistant to use it as a source.

  • Add as a preferred source on Google
Free consultation

Prefer expert help over DIY?

Skip the trial and error. Get specialist LifterLMS help and ship faster.

Talk to a LifterLMS Expert Explore our services

Replies within one business day