🎉 Celebrate with 10% OFF on All Products! Use Code: GFEX10 Or Buy Any 2+ Items for 30% OFF with Code: GFEX30!
Home Add-ons Moodle Premium
Premium Integration

Gravity Forms
+ Moodle Premium

Enrol a user into a Moodle course when a Gravity Forms form is submitted, create the Moodle account when it is missing, over your own Web Services token.

User User User User
+2k
4.9/5
Trusted by 2,000+ Agencies
Moodle Premium

Watch it in action

Gravity Forms Moodle Add-On Setup Guide: Site URL, Token and Course Feed (WordPress Side)

Video setup guide: Gravity Forms Moodle

Core Features

Enrol a user into a Moodle course on form submit, into the role you choose (Student, Teacher or your own role id)
Find the Moodle user by the submitted email, and optionally create the account first (first name, last name, username)
Let Moodle set the password and send its welcome email, or have the add-on set a strong random password
Map the email (required), first name, last name and username from your form fields
Conditional logic per feed, and several feeds per form for different courses and roles
Your Web Services token is encrypted at rest and is never shown again, never logged and never stored with an entry
Runs over your own Moodle Web Services token with the REST protocol; nothing goes through GravityExtra
A connection test on the settings page reads your Moodle site name and version so you know the token works
A failed Moodle call never blocks the form: the entry is saved and an entry note records the reason
The add-on only ever contacts the Moodle address you configured, by server-to-server request

What does it do?

Connect your Gravity Forms to your own Moodle with the Gravity Forms Moodle Premium Add-on. When a form is submitted, the add-on finds the Moodle user by email and enrols them into the course and role you choose. If no account has that email yet, it can create the Moodle account first and then enrol it, so a sign-up form becomes a finished enrolment with nothing to do by hand.

Everything runs through your own Moodle Web Services token over the REST protocol, straight from your WordPress server to your Moodle site. Nothing passes through GravityExtra. Your token is encrypted before it is stored on your site, it is never shown again and never written to an entry or a log, and the add-on only ever contacts the Moodle address you configured.

Create one feed per form, or several feeds with different courses, roles and conditions, so a single form can enrol different people into different courses. A feed runs only when its conditional logic is met, and a Moodle call that fails never blocks the submission: the entry is still saved and a note on the entry, with the email masked, explains what happened.

How does it work?

When a protected form is submitted and the feed's conditional logic is met, the add-on asks your Moodle, by a server-to-server Web Services call, whether a user has the submitted email. If one does, that user is enrolled into the course and role of the feed with core_enrol_manual_enrol_users. If none does and account creation is on, the add-on first creates the account with core_user_create_users (Moodle can send its own welcome email, or the add-on sets a strong random password), then enrols it. The token is sent in the request body, never in the URL, and is encrypted at rest, so nothing sensitive is left in a log.

Interface Previews

Screenshot
Screenshot
Screenshot

How do I enable this?

1
Install and activate the add-on, then activate your license key in Forms → Settings → Moodle.
2
In Moodle, turn on Web Services and the REST protocol, then create a token for a user allowed to create users and enrol them.
3
Paste your Moodle site URL and the token into the add-on settings; the connection test confirms the token works.
4
Add a Moodle feed to a form, set the course id and role, map the email, and send a test entry.

Customer Reviews

Submit your review
1
2
3
4
5
Submit
     
Cancel

Create your own review

GravityExtra
Average rating:  
 0 reviews

Have a new Feature idea?

Didn't see a feature in our plugin that you think would be useful? Share with us and let the team be a part of it.

Submit a Feature Request
$39/year
All-Access PassNeed several add‑ons? Get all 825 Gravity Forms add‑ons with All-Access: $249/year for 10 sites.See the pass →
Add any 2nd item, get 30% OFF both!
Use code GFEX30 at checkout
Secure checkout via Stripe
What's Included
  • Automatic Yearly Renewal
  • 1 Year Free Support & Updates (Renewable)
  • 24x7 Dedicated Customer Care
24/7 Support
For any query, connect with us on our support portal.
Submit a Query →
Quick Info
Version 1.0.0
Tested with WordPress 6.7
Changelog
Icon
Gravity Forms Moodle Premium
8 people are viewing this

Wait! Don't leave
empty-handed 🎁

Grab these exclusive codes to use at checkout!

10% OFF On all products
GFEX10
30% OFF Best Value
On any 2+ items
GFEX30

No thanks, I'll pay full price

Someone just bought this A few seconds ago
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