Create A Registration Form with Admin Approval in WordPress Using Frontend Admin

Create A Registration Form with Admin Approval in WordPress Using Frontend Admin

This tutorial is also available in video form: Create A Registration Form with Admin Approval Using Frontend Admin – Video Tutorial

In this article, we’ll guide you through adding a user registration form to your website using the Frontend Admin plugin for WordPress. Additionally, you’ll learn how to set up admin approval, ensuring that new users can only be added once the admin approves their submission. Let’s dive right in!

Adding a New Registration Form

  1. Access Frontend Admin:
    • Log in to your WordPress dashboard.
    • Scroll down to Frontend Admin on the left-hand menu.
    • Click on Forms.
  2. Create a New Form:
    • Click Add New Form to create a new form.
    • You can name the form whatever you prefer. In this example, we’ll name it New User Form.
    • Under the Select Type dropdown, choose New User Form.
    • Click Publish.
    That’s it! You now have a complete registration form with the necessary fields, including:
    • Username
    • Email
    • Password
    • First Name
    • Last Name
    • Role
    • Submit Button
    Step 2: Adding a Confirm Password Field (Optional)It’s often a good practice to add a Confirm Password field to ensure the user enters the correct password twice.
    • In your form editor, locate the User Password field.
    • Click Duplicate.
    • Change the label of the duplicated field to Confirm Password.
    • Under the Type dropdown, select Password Confirm.
    This ensures that users will need to enter their password twice, improving user experience by preventing potential input mistakes.

Limiting User Roles

By default, users can select any available WordPress role during registration. However, you may want to limit this to specific roles, such as Subscriber or Customer.

  1. Scroll down to the Role field in your form.
  2. Specify which roles users can choose by restricting it to your preferred options, such as Subscriber or Customer.
  3. Save the changes.

You now have a fully functional registration form with restricted user roles.

Enabling Admin Approval

If you want to manually approve each user before they can access your site, you can enable admin approval.

  1. Go back into the Form Settings.
  2. Scroll down to Submissions.
  3. Under Submission Requirements, check the box for Admin Approval.
  4. Save your changes.

Testing the Form

To make sure the form works, let’s sign up a new user as an example:

  1. Fill out the form with sample data:
    • Username: John Doe
    • Email: johndoe@example.com
    • Password: A strong password (with confirmation)
    • First Name: John
    • Last Name: Doe
  2. Click Submit.

The form will be successfully submitted, but John Doe will not appear in the Users section yet because admin approval is required.

Approving a User Submission

Now let’s approve the user’s account from the admin dashboard:

  1. Hover over Frontend Admin in your WordPress dashboard and click Submissions.
  2. You’ll see the submission from John Doe marked as Pending Approval.
  3. Open the submission to review the data.
  4. Click Approve.

Once approved, John Doe will appear as an active user in the Users list. John can now log in to the website with his credentials.

Conclusion

That’s all it takes to add a fully functional registration form to your WordPress site using the Frontend Admin plugin! You’ve also learned how to add admin approval to ensure that only verified users can access your site. We hope this guide was helpful.

Enjoy form building with Frontend Admin by DynamiApps!

Create A Registration Form with Admin Approval in WordPress Using Frontend Admin

Still stuck? 
Contact our support team here.