Quantcast
Channel: Tutorials Archives | Gravity Wiz
Viewing all articles
Browse latest Browse all 122

Complete Guide to Gravity Forms Login (Auto Login, Activate Users, More!)

$
0
0

Gravity Forms makes it easy to handle user registration and login in WordPress. More specifically, you can create Gravity Forms login and user registration forms using the User Registration add-on.

Gravity Forms login

But that’s just the bare minimum!

If you use Gravity Perks, you can benefit from advanced features like automatically logging users in after registration, limiting submissions, customizing the user activation page (or a custom user registration page), and populating previously submitted information into new forms. All of this (and much more) is possible with Gravity Perks!

In this tutorial, we’ll show you how you can handle user registration with Gravity Forms and how to enhance it by using Gravity Perks.

Benefits of Changing Your Login

The WordPress login isn’t particularly intuitive or user-friendly. Moreover, it doesn’t give you the option to add the login form to a widget or in the sidebar.

With the Gravity Forms User Registration add-on, you can make it easy for people to register and allow existing users to log in from any page with a widget area.

Simplify User Registration

Log in to your WordPress site and create a user registration form using Gravity Forms. Add the Name, Password, and Email advanced fields to your form. It might look something like this:

Gravity Forms user registration form

Next, go to Settings > User Registration to access feed settings and create a new form feed. This will tell Gravity Forms what to do once the user registration form is submitted i.e. create a new WordPress user. Finally, map the user registration form fields to corresponding fields within the WordPress user.

You can also set up Pending Activations to require users to confirm their email address before creating an account. Gravity Forms will send out a user activation email that they need to click to activate their account and complete the registration process. The best part is that you can customize the user activation email however you’d like.

Speed Up the Login Process

The User Registration add-on also lets you add an embeddable Gravity Forms custom login form into any widget area. You can do this using the Login widget.

Login widget

All you have to do is navigate to Appearance > Widgets from the WordPress admin panel and place the Login widget inside any widgetized area on your site. The add-on will then show a Gravity Forms login form for non-logged-in users and a custom message for logged-in users.

Benefits of Customizing Gravity Forms Login

You can use Gravity Perks to customize the Gravity Forms login experience in a variety of different ways. Here are some ways you can deliver enhanced user experiences and potentially increase registrations.

Save Users Time With Auto-Login

GF Auto Login lets you automatically log in users after they register on your website.

GF Auto Login

Gravity Forms Auto Login is the quickest way to log users in after registration.

You can display a text confirmation or redirect the new user either to a WordPress page or to a URL. It’s an easy way to improve the user registration flow. Put simply, once a user registers for an account, they’ll automatically be logged in instead of having to enter their credentials again.

Have Better Control Over the Registration Process

GF Limit Submissions gives you better control over the registration process by letting you limit the number of entries a user can submit by:

  • Who can submit forms by user, role, or IP.
  • How many times a particular combination of fields is submitted.
  • The number of submissions per page.

Beyond user registration, this is a must-have for anyone running contests, giveaways, or surveys.

GF Limit Submissions

Gravity Forms Limit Submissions gives you complete control over the user registration process.

Another use case for this is setting up an online library. In this case, you can configure the plugin so users can request up to 10 books per calendar month. Each book request is a separate submission. To take things even further, you can allow premium users to request more books per month, limiting them by user role. For this, you would simply use the following shortcode to show the user how many books they have left.

[gpls form="2" action="remaining" /]

Improve the Overall User Experience

The default user activation page isn’t visually-appealing on the front-end. However, you can use GF Better User Activation to enhance it. You can customize all activation content from the WordPress Post Editor so it fits in better with your theme. Alternatively, you can choose to redirect users to a custom page upon activation by specifying a redirect URL.

Quickly Collect Additional Information

Let’s say you have a pretty complex user registration form that requires users to enter their phone number, country of residence, billing details, and more. This can be overwhelming for most people. One way to get users to sign up is by setting up a smaller, less complex form that only asks the user for their name and email address. Once they’ve done that, you can ask them to fill out the more complex user registration form.

At the very least, you’ll have a qualified lead that you can email with a reminder to fill out the complex form to complete the registration process.

Using GF Easy Passthrough lets you transfer data between multiple Gravity Forms forms thereby making it faster and more secure for users to fill out multiple forms.

GF Populate Anything dynamically filters and populates field choices and values.

It enables site owners to look up any information tied to the logged-in user – not just their form entries – and populate that data into a form.

For example, you can populate previous WooCommerce order information. This makes it easy to allow the user to report an issue with a product they purchased or request a refund.

You can also use it to populate a dropdown with Gravity Forms entries submitted by the user. Following our Online Library use-case from before, this can be used to allow the user to renew the selected book for another month or leave a review about the book.

How to Enhance User Registration Using Gravity Forms

Once you’ve set up the User Registration add-on for Gravity Forms login, you can enhance your forms using Gravity Perks. Here are two different ways to use Gravity Perks:

Set Up Auto Login

Install GF Auto Login to your WordPress site. Go to the form Settings > User Registration and click the Edit link.

Scroll down to the Additional Options section and tick the checkbox next to the Auto Login option. Now, any user who is registered from this user registration feed will automatically be logged in once the form is submitted.

Limit User Submissions

Install GF Limit Submissions to your website and head over to Settings > User Registration from your form.

Configure the submission limit, time period, and rule groups based on how you’d like to limit the number of entries users can submit.

Enhance Gravity Forms Login

Once you have the User Registration add-on set up, there are many different ways you can enhance the Gravity Forms login and registration experience your site delivers using Gravity Perks.

Aside from setting up auto user login and limiting user submissions, you can use the Gravity Forms plugin with Gravity Perks to improve the overall user experience your forms deliver and quickly collect additional information from users.

What are some of the ways you will enhance the Gravity Forms login and registration experiences on your site? Share your thoughts in the comments section below.


Viewing all articles
Browse latest Browse all 122

Trending Articles