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

Gravity Forms Membership Signup Premium Add-on Setup Guide

Updated 9 min read Gravity Forms Integrations A–Z
On this page
  1. Video walkthrough
  2. What you need
  3. Install and activate
  4. Register new members from a form
  5. Membership level
  6. New member settings
  7. Map the fields
  8. Passwords
  9. Wait for the payment
  10. What is never done
  11. Change level or cancel from a form
  12. What you see afterwards
  13. Merge tags
  14. For developers
  15. Privacy and security
  16. Troubleshooting
  17. Questions
  18. Does it need a payment add-on?
  19. Can one form offer several levels?
  20. Can I register an existing WordPress user as a member?
  21. Where does the member go after signing up?

Video walkthrough

Gravity Forms Simple Membership: Member Signup Forms, Level Picker and Cancellation Form
Watch the Membership Signup add-on register Simple Membership members at a free level and let a member cancel with a second form. Watch on YouTube

The Gravity Forms Membership Signup Premium Add-on turns a Gravity Forms submission into a Simple Membership member. One feed makes the member record, the matching WordPress account and the membership level, fills the member profile from the form, sets the account status and the access start date, and can send the Simple Membership welcome e-mail. A second feed lets a logged-in member change level or cancel from a form.

It works with the free Simple Membership plugin from WordPress.org and nothing else. No outside service is contacted and no table is added. Passwords are read from the submitted form, hashed, and never saved in the entry.

What you need

  • WordPress 6.5 or newer and PHP 7.4 or newer.
  • Gravity Forms 2.9 or newer. The add-on is tested with Gravity Forms 3.1.2 on PHP 8.3 and Gravity Forms 2.9.8 on PHP 7.4.
  • The free Simple Membership plugin, version 4.8.0 or newer (tested with 4.8.6), with at least one membership level.
  • An active license key for this add-on.

If Gravity Forms or Simple Membership is missing, or Simple Membership is too old, the add-on shows a notice in the WordPress admin, and a feed that runs writes an error note on the entry instead of failing.

Install and activate

  1. Install and activate Simple Membership and Gravity Forms, then this add-on.
  2. Open Forms → Settings → Membership Signup and enter your license key.
  3. Make sure your levels exist under Simple Membership → Membership Levels.

Register new members from a form

Build a normal Gravity Forms sign-up form: first name, last name, email and a password field are the usual start. Then open the form, go to Settings → Membership Signup, add a feed and choose Register a new Simple Membership member.

The Membership Signup feed settings: the level, the account status, the access start date, the welcome e-mail and the field mapping
The feed: choose the level (or let the visitor pick), the status and the start date, then map the fields.

Membership level

Choose where the level comes from. The level chosen in this feed gives every sign-up from this form the same level, which is what you want for a form on a page about one plan. A field of the form lets the visitor pick the level. Choose the field that holds the answer: the answer may be the level name (capital letters do not matter) or the level ID. A drop down or radio field can be filled for you: choose it in Fill this field with the levels and its choices become your levels, with the name shown and the ID saved. You can also tick the levels the visitor may pick, so a form can offer only two of five levels, and any other answer is refused.

A Gravity Forms sign-up form with first name, last name, email, password, phone, city and a drop down of membership levels, ready to register a new member
The sign-up form: the level drop down is filled with your Simple Membership levels.

The built-in Content Protection level is never offered. Neither is any level whose WordPress role could manage users, the site or content: the add-on checks the role of every level when the feed is built and again when somebody signs up, and refuses a level that has become powerful. The list says which levels it left out and why.

A level that a visitor picks in a field needs a paid entry, so nobody can join a paid level by editing the form in the browser. Tick Free pick when the level is free, or use the payment option described below. A level chosen in the feed is always given.

New member settings

  • Account status: the Simple Membership default (the setting of the level, otherwise the general setting), or Active so the member can log in at once, Inactive, or Pending so you can approve each member.
  • Access starts: today, or the date in a form field written as year-month-day. The date decides when a level with a time limit begins and ends. A date that is not valid stops the sign-up with a note on the entry, and nothing is made.
  • Welcome e-mail: sends the registration e-mail you wrote in Simple Membership under Email Settings, with the member data filled in. The password is never in it: the password tag becomes the notice Simple Membership itself uses, which tells the member to use the password reset option.
  • Simple Membership hooks: tells other Simple Membership add-ons that a member registered, by running the Simple Membership registration hook. The password is blanked first.

Map the fields

Account fields take the email (required), an optional username, the password, the first name and the last name. If you map no username, the member gets first.last, or the email when there are no names, and a number is added when the name is taken. A username may hold letters, digits and the characters . – _ * and @; anything else is removed. The member profile map fills phone, street address, city, state or region, zip or postal code, country, company, gender and an admin-only note. Empty answers are left empty. Gender is stored as female, male or not specified, so a value such as Other becomes not specified and an unknown value is not saved. Text is cleaned and cut to the length Simple Membership stores.

Passwords

Map a Gravity Forms password field and the member chooses their own password. Gravity Forms never keeps that password in the entry, and neither does this add-on: it is read from the submitted form, hashed by WordPress and by Simple Membership, and used nowhere else, so the member can log in with it at once. A password with quotes, a backslash or a dollar sign is stored exactly as typed.

If you map no password field, a long random password is set and the entry gets a note saying so. The member then uses the password reset option of Simple Membership. The same happens when the feed is set to wait for a payment, because the form is no longer there when the payment arrives.

Wait for the payment

When a payment add-on is active on the form, the feed shows the Gravity Forms option Register or change the member only when payment is completed. With it on, the member is made when the payment is complete and not before.

What is never done

  • An existing account is never taken over. If the email or username belongs to a WordPress user or a Simple Membership member, the sign-up is refused with a note and nothing is changed. That includes administrators.
  • A powerful level is never handed out, as explained above.
  • The entry never holds the password.
  • A half-made member is never left behind. If Simple Membership cannot save the member record, the WordPress account that was just made is removed.

Change level or cancel from a form

The second action, Change the level or status of the logged-in member, serves upgrade, downgrade and cancellation forms. It works on the member who is logged in and on nobody else: the form carries no member number, email or username that could be edited. The WordPress account has to belong to a Simple Membership member with the same username and email, and an administrator is never changed.

  • Level: a level chosen in the feed, or one picked in a field with the same checks as above. Leave it empty to keep the current level.
  • Account status: keep, or set Active, Inactive, Expired or Unsubscribed. A cancellation form uses Unsubscribed.

The change uses the Simple Membership functions, so its own hooks run and the WordPress role of the account follows the new level. A visitor who is not logged in, a user who is not a member and an administrator get a note on the entry and nothing happens.

What you see afterwards

Every entry gets notes that say what happened: the member number, username, level, status, start date and WordPress account, or the reason nothing was made. Two entry values are saved, the member ID and the level ID, and both can be shown as columns and used as filters. The person who signed up becomes the owner of the entry.

The Simple Membership members list showing members that were registered from Gravity Forms with their membership level and account status
The Simple Membership members list: the new members are there, at the level the form chose.

The new members are in the normal Simple Membership list, at the level the form chose, and they log in like any other member.

Merge tags

These merge tags work in confirmations and notifications of the form, for entries made by a feed of this add-on:

  • {swpm_member_id}: the member number.
  • {swpm_username}: the username.
  • {swpm_level}: the level name.
  • {swpm_status}: the account status.
  • {swpm_access_starts}: the access start date.

A confirmation such as Welcome, {swpm_username}. Your {swpm_level} membership starts on {swpm_access_starts}. shows the real values. The tags appear in the merge tag list of the form editor.

For developers

  • The add-on runs the Simple Membership action swpm_front_end_registration_complete_user_data with the member data when the hooks box is ticked. The password is never passed.
  • Changes use the Simple Membership functions that fire swpm_membership_level_changed and swpm_account_status_updated.
  • The entry meta keys are gfmsignup_member_id and gfmsignup_level_id.

Privacy and security

The add-on contacts no outside service. It adds no table. The member data goes where Simple Membership keeps it already. Feeds need an active license, and the settings screens need the Gravity Forms permissions for settings and forms. The member is made on the server after Gravity Forms has validated the submission, and every value is cleaned before it is stored.

Troubleshooting

  • No member was made: open the entry and read the notes. They name the reason: an email or username that is taken, a level that is not offered, an unpaid pick, a start date that is not valid, or an inactive license.
  • The feed list shows a notice: Simple Membership is not active or is older than 4.8.0.
  • A level is missing from the list: it has a WordPress role that can manage users or content. Give the level a role such as Subscriber or a custom member role.
  • The member cannot log in: check the account status. A new member is Pending when your Simple Membership default is Pending, or when you chose Pending in the feed.
  • No welcome e-mail: the box is off, or the registration e-mail in Simple Membership is empty. The entry note says which.

Questions

Does it need a payment add-on?

No. Free sign-ups work on their own. If you sell a level, use any Gravity Forms payment add-on together with the option to register only when payment is completed.

Can one form offer several levels?

Yes. Let the visitor pick the level in a field, tick the levels that may be picked, and the add-on fills the field for you.

Can I register an existing WordPress user as a member?

Not from a public form. An existing email or username is refused so a form can never take over an account. Use the Simple Membership admin screens for that.

Where does the member go after signing up?

That is up to your Gravity Forms confirmation. Send the member to your login page, or show a message that uses the merge tags.

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