Create a WordPress registration form with Gravity Forms (2024)

These days, it’s hard to imagine having a website without a contact form. A simple contact form can open the doors to a long and fruitful relationship between you and your customers. There’s no excuse not to have one when there are so many free and paid form plugins out there.

Gravity Forms is a premium plugin that’s a favourite among folks looking for advanced options such as conditional logic and submission limits. While it’s basic pricing plan does offer several features, user registration isn’t one of them. In fact, you’ll need to upgrade two levels to the Elite pricing plan to be able to register users using Gravity Forms.

So what’s there to do if you’ve already invested in Gravity Forms’ basic plan, yet you need a registration form? We’ve got a solution for you. In this article, you’ll learn how to use the Uncanny Automator Pro plugin to create a user registration form with your Gravity Forms.

Before starting

Creating a registration form requires a recipe that can add a new WordPress user. This feature is available on the Pro and Agency pricing plans.

If you need to brush up on the terminology, please read about recipes, triggers, and actions.

There are two parts to the process. The first part is to build our form so we can gather the registration input. The second is to make our recipe (triggers and actions) that will register the user in WordPress.

Build the form

1. From your /wp-admin/ dashboard, navigate to Forms>New Form.

Create a WordPress registration form with Gravity Forms (1)

2. Enter “Gravity – Simple Registration Form” for theForm Title.

3. Click theCreate Form button.

The form editor displays.

4. From the Standard Fields in the Form Toolbox, add one Single Line Text field each for the First Name and the Last Name.

5. Under the Rules settings for both fields, check Required.

6. From the Advanced Fields in the Form Toolbox, add an Email field.

8. Make this Required too.

9. Click theUpdatebutton towards the bottom right of the page.

That takes care of the input fields. Let’s set up the button next.

10. Click onSettings (gear icon) in the editor’s top menu bar.

11. Change the form’sButton textto “Register”.

Create a WordPress registration form with Gravity Forms (2)

12. Click theUpdate Form Settingsbutton at the bottom of the page.

Your form editor should look similar to this.

Create a WordPress registration form with Gravity Forms (3)

Now that you have a form, you can add it to a page using theAdd Form button in the classic editor. If you’re using Gutenberg, search for the Gravity Forms block. Then, we’ll see something like this.

Create a WordPress registration form with Gravity Forms (4)

Well done! We’re ready to move on to the second part.

Create the recipe

1. From your wp-admin dashboard, navigate to Uncanny Automator > Add New.

Create a WordPress registration form with Gravity Forms (5)

2. Select Everyone for the recipe type.

This needs to be a recipe for everyone because we want to create a new WordPress user. Logged-in users cannot create new users.

3. Click Confirm.

Learn more about Recipes for Everyone.

4. Name your recipe “Simple registration form using Gravity Forms”.

5. Select Gravity Forms for the integration.

Create a WordPress registration form with Gravity Forms (7)

Note: We can only have one trigger for recipes that run for everyone.

6. For the trigger, select A Gravity form is submitted.

Create a WordPress registration form with Gravity Forms (8)

7. For the form, choose our Gravity – Simple Registration Form that we made in part 1.

Create a WordPress registration form with Gravity Forms (9)

8. Click Save.

That’s it for the trigger. Next up, the action.

9. Next, select New User for Actions will be run on...

Create a WordPress registration form with Gravity Forms (10)

You should now see a form displaying the standard WordPress user account fields: first name, last name, email, username, display name, password, and roles.

For the first four fields, we want to grab the data from our Gravity Forms form. Let’s do the first name together.

10. Click on the asterisk icon (*) on the right-hand side of the First name field.

Create a WordPress registration form with Gravity Forms (11)

This is the token selector. Tokens act like handles to the data in the form. Tokens will get filled-in later with actual values when the form is submitted.

So, for the First name field for our new user, we want the First Name token from our Gravity Forms form.

11. Select Gravity – Simple Registration Form that’s highlighted in blue.

12. From the dropdown menu, click on First Name. You’ll see the first name token appear in the text field above.

Create a WordPress registration form with Gravity Forms (12)

Follow the same steps for the Last name and Email fields except you’ll want to select the corresponding token for each. For example, choose the Last Name token for the Last name field and the Email Address token for the Email field.

We want our usernames to be the same as the email.

13. So, for the Username field, select the Email Address token.

14. Leave the Display name blank.

For the password, we want the user to reset it before logging in for the first time. We’ll get to that in a bit.

15. So, leave the Password field blank too.

16. Keep the default Subscriber selected for the Roles field.

17. Click No for the Log the new user in? field.

18. Click Do nothing for the What to do if the user already exists field.

19. Click Save.

When you’re done, your new user data form should look like this.

Create a WordPress registration form with Gravity Forms (13)

OK. We created our form, did our trigger, and we just finished defining our new user fields. Now, on to our last ingredient—the confirmation email.

20. Under the Set user data section, click on Add action next to the lightning bolt icon.

Create a WordPress registration form with Gravity Forms (14)

A set of available integrations will be displayed. We’re going to have WordPress handle this.

21. Select WordPress from the set of integrations.

Create a WordPress registration form with Gravity Forms (15)

22. In the dropdown, select Send an email.

We’ll get another form to fill-out. This time it’s an email template.

23. Keep the Send an email to at the top and the From and To fields set to their default values.

24. Add your Subject.

25. Compose your message.

For the Body, we get a text editor complete with a token selector icon to work with. That means we can pull in data from WordPress and our Gravity Forms form to compose a personalized message. In my example below, I’m grabbing tokens to personalize the first name and the username. Then, I include a reset password link courtesy of WordPress.

26. Click Save.

Create a WordPress registration form with Gravity Forms (16)

Our last step is to make our recipe Live. We’ll need to click on all three Draft toggles displayed on our recipe page.

27. Click on each toggle to make them live.

The first one is in thetrigger block at the top. The second one is for our WordPress email towards the bottom of the Actions block. Finally, the third one is for the entire recipe and it’s located in the right sidebar under the Recipe details.

Create a WordPress registration form with Gravity Forms (17)

Congratulations! You now have a user registration form that will:

  • Create a new WordPress account.
  • Send a personalized confirmation.
  • Provide a password reset link.

Summary

Here are the important things we covered:

  1. Creating a simple Gravity Forms form that takes a First Name, Last Name, and Email.
  2. Creating a Recipe for Everyone in Uncanny Automator that’s triggered when the Gravity Forms form is submitted.
  3. Setting up the recipe action to automatically create a new WordPress user.
  4. Crafting a custom email autoresponder that sends the account details to the new user.

This is just a simple yet powerful demonstration of how Uncanny Automator can supercharge your contact form. Check out our in-depth blog post on creating registration forms with free form plugins to learn more.

Next steps

Once the basic user registration form is in place, you can add additional actions to the recipe and even add extra fields to the form to capture additional details for the user. Using the Set user meta WordPress action, you can add form data directly to the user’s WordPress profile.

Create a WordPress registration form with Gravity Forms (2024)
Top Articles
Latest Posts
Article information

Author: Lidia Grady

Last Updated:

Views: 6109

Rating: 4.4 / 5 (65 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Lidia Grady

Birthday: 1992-01-22

Address: Suite 493 356 Dale Fall, New Wanda, RI 52485

Phone: +29914464387516

Job: Customer Engineer

Hobby: Cryptography, Writing, Dowsing, Stand-up comedy, Calligraphy, Web surfing, Ghost hunting

Introduction: My name is Lidia Grady, I am a thankful, fine, glamorous, lucky, lively, pleasant, shiny person who loves writing and wants to share my knowledge and understanding with you.