🎉 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 Register Members and Give Memberships From a Gravity Forms Form

GravityExtra
How to Register Members and Give Memberships From a Gravity Forms Form

A membership site lives on two things: getting people in, and giving them the right access. Gravity Forms is excellent at the first part, with sign-up forms, application forms and paid plan forms. WP-Members is a free plugin that restricts content, keeps the member fields and manages memberships with optional expiry dates. The gap between them is the moment after a form is sent: someone has to create the account, fill the member fields, activate it, give the right membership and tell the member. This guide shows how to connect the two so that a Gravity Forms form registers members in WP-Members by itself, how to cancel a membership from a form, and how to keep a form for members only.

A Gravity Forms sign-up form whose drop down lists the WP-Members memberships: Basic Access, Club Lounge, Gold Membership, Newsletter Plus and Trial Pass
The drop down is filled by the add-on with your WP-Members memberships.

The Problem With Doing It by Hand

Many small clubs and communities start the same way. A form collects a name, an email and a plan. Someone reads the entries every morning, creates a user in WordPress, copies the address and the phone number into the member profile, ticks the activation box and adds the plan on the user screen. It works for five members a week. It breaks at fifty, and it breaks on the first Monday after a holiday. People wait for access, the wrong plan is added, or an account is created twice with two different emails.

The Gravity Forms Member Access Premium Add-on from GravityExtra does that work for you. A feed on the form creates or finds the account, saves the answers in the WP-Members fields, activates the account when registration is moderated and gives the memberships you choose, using the functions that WP-Members itself provides. WP-Members then behaves as if you had done it by hand: it keeps its own records and its own hooks run.

What You Need

  • Gravity Forms with a form that has at least an email field.
  • The free WP-Members plugin from the WordPress plugin directory, with memberships switched on and at least one membership created.
  • The Gravity Forms Member Access Premium Add-on.

Step 1: Decide Who Is Registered

The first choice is the member. 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 handled directly, with no second account. If a form is only for people who already have an account, choose the option that works only for 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: nothing changes 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 membership, and its name, password, role and fields stay exactly as they were.

The Member Access feed settings in Gravity Forms: who is registered, the account fields, the WP-Members fields, the activation option and the memberships with their expiry
One feed: who is registered, which fields are saved, and which memberships are given.

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, Editor, Author and any role that can edit users or content, upload files, install plugins or manage the site are never offered, and they are refused even if a feed was saved with one by code. A membership plan should never be a way to get editing rights, and nobody should get them by filling in a form.

Step 3: Save the Member Fields

WP-Members lets you define the fields of a member profile: company, address, phone, a size, a newsletter box, interests. Each custom field has a row in the feed, and you pick the form field that fills it. The add-on checks every answer against the type of the WP-Members field before it saves it. A drop down accepts only an option that exists, a check box saves the value you set, a multiple choice field keeps the valid options, and text is cleaned of markup.

Fields that belong to WordPress itself are never written. A custom field that someone named after the capabilities of a user, a session or the activation flag is left out of the list and ignored if it is saved by code. That means a form cannot be used to make itself an administrator through a badly named field.

Step 4: Activate the Account

If you use moderated registration, a new account cannot log in until it is activated. Tick the activation box in the feed and the add-on activates the account it has just made, with the WP-Members function, so the hooks and the approval e-mail of WP-Members work as usual. If the member typed a password in your form, the add-on keeps it, because WP-Members would otherwise generate a new one while it activates. An account that already existed is never activated by the add-on.

Step 5: Give the Memberships

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

The second way is a choice field. Let the member pick a plan in a drop down, radio buttons or check boxes. The add-on can fill the field with your memberships, so a new plan shows up as soon as you create it. The answers may be ids, slugs or titles. Only memberships that exist can be given, and if you tick memberships in the feed, only those can be picked. A forged request that names a draft or something outside your list does nothing but add an error note to the entry.

A membership picked in a field is given only for a paid entry, unless you allow a free pick. For a form that sells plans, use a payment add-on and tick the option to run the feed only when the payment is completed. The account is made and the membership is given at that moment.

Step 6: Set the Expiry

Memberships that expire in WP-Members keep their own period by default, and giving the same membership again renews it by that period. You can also set a number of days from now, a fixed date such as the end of the season, or the date in a field of the form. A date in the past is refused with a note. A membership that never expires ignores the setting, and the note says so.

A membership can also require a role in WP-Members. The add-on never hands out a role to satisfy it. If the member lacks the role, the membership is still given and the note tells you that access starts when the role matches.

Cancel a Membership From a Form

A member should be able to leave without writing an email. Add a form for it and give it a feed with the action Remove a membership. The feed works only for the logged-in member and only on memberships that member holds. Tick the plans that can be cancelled, or let the member pick one from a drop down. Everything else about the account stays as it was, and the merge tags can list what was removed and what the member still has in the confirmation.

React When a Member Is Activated

The add-on has a feed for the moment WP-Members activates a member, whether an administrator did it, the member followed a link, or the register feed did. It can add an entry to a form for the member, with the name, email, username and the memberships the member holds, and it can send the notifications of that form. Use it as an onboarding record for your team, a welcome e-mail with the plan name, or a notice to a manager.

Keep a Form for Members Only

Some forms should be for members: a support request, a booking form, a feedback survey, a download request. The gate feed shows such a form only to a logged-in member who holds one of the memberships you tick. Others see a message, or nothing, or the form with a notice and a submit that is refused, as you choose. A visitor who is not logged in gets a log-in link.

The form gate feed settings: what a visitor without a membership sees, the memberships that give access, the message and the administrator option
The gate feed decides who can see and send a form.

The check is also made when the form is sent, so a form that is hidden on the page cannot be posted by hand. An expired membership does not open the gate. A membership that needs a role needs the role too. If WP-Members is switched off, the gate stays closed except for administrators, so a plugin problem never opens a members-only form to the public.

Merge Tags for Confirmations and E-mails

The add-on gives you merge tags for the confirmation and the notifications of the same form: the memberships that were given, their expiry, the memberships that were removed, everything the member holds now, the username, and any WP-Members field by its key. A confirmation can say that the member now holds the Gold plan until a date and show the company that was saved. If nothing was given the tags are empty and never show raw braces.

A Few Practical Setups

  • A free level: a form on the page of one plan, a fixed list with that membership, 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 the membership given only when you approve.
  • A paid plan: a payment add-on, the feed set to run when the payment is completed, a choice field with your plans and an expiry of one year.
  • A cancellation form: a remove feed with the plan ticked, shown only to members with a gate feed.
  • An onboarding record: an activated feed that adds an entry with the member and the plan, and notifies your team.

Questions People Ask

Do I need a paid WP-Members extension?

No. The add-on works with the free WP-Members plugin.

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 content and never gives a draft membership or one outside your list. A membership picked in a field needs a paid entry unless you allow a free pick.

Can the form activate an account I created myself?

No. Only an account the feed created is activated, so a deactivated member stays deactivated.

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.

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

See the Member Access 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