Ninja Forms – Allow Users to Create and Manage Forms on the Front-end

This tutorial is part 1 of a short series of three tutorials where we’ll show you how to build a front-end dashboard for the Ninja Forms plugin.

Building a front-end dashboard can be really useful if you’re building a polling platform where users will create and manage forms and entries without needing to access the wp-admin dashboard.

You can create a web platform using the Ninja Forms plugin behind the scenes!

In this first part, we’ll show you how to allow users to create and manage Ninja Forms on the front-end.

For this, you’ll need the WP Frontend Admin plugin, which allows you to display any wp-admin page on the frontend to build front-end dashboards and web apps.

Try plugin for free

You can try the premium plugin on your website for free for 7 days.

Once you install WP Frontend Admin and Ninja Forms, follow these steps to allows users to create and manage forms on the frontend.

1- Display the Ninja Forms’ Dashboard page on the frontend

WP Frontend Admin allows you to easily display the Dashboard page from Ninja Forms on the frontend. You can use your theme’s settings or build a page using any page builder.

a) To display the All Forms page on the front-end with one click

  1. Go to Ninja Forms > Dashboard
  2. Click View on the frontend

create ninja forms on the frontend

b) To build a frontend page with any page builder

WP Frontend Admin allows you to display any wp-admin page on the frontend using any of the following page builders:

  • Elementor
  • Visual Composer
  • Gutenberg
  • Divi
  • Beaver Builder
  • WP Page Builder
  • Page Builder by SiteOrigin
  • Oxygen
  • Live Composer
  • Brizy
  • Etc.

You just need to use the following shortcode where you want to display the dashboard page:

[vg_display_admin_page page_url="admin.php?page=ninja-forms"]

Now you need to click Preview to see the forms page on the frontend.

2- Select the frontend dashboard page’s basic information

WP Frontend Admin will display the Quick Settings panel on the left side of the screen. That panel shows you all the tools you need to configure your frontend pages.

You can start configuring your page by selecting the following information:

  • Page title – Enter the page title in this field.
  • URL slug – Use only keywords to enter the URL slug.
  • Page template – You can select the Default template to use our theme’s appearance.
  • Add to this menu – You can add this page to a navigation menu.

create ninja forms on the frontend

3- Hide any unnecessary elements from your frontend dashboard page

You can hide any unnecessary elements from your page to customize it. There may be some fields and elements your users won’t need to see on the frontend dashboard page.

For example, you can hide any reference to Ninja Forms so that your users don’t know you’re using the plugin behind the scenes. You can also hide any banners telling your to upgrade to a paid plan if you’ll use the free version of Ninja Forms.

We’ll hide the banners and the Forms, Services, and Apps & Integrations links.

  1. Click Hide element.
  2. Click the element you want to hide.
  3. Repeat with every element.

create ninja forms on the frontend

4- Edit any texts on your frontend dashboard page

Besides hiding any unnecessary elements, you can edit any texts on your frontend dashboard page. For example, we want to change the text on the Add New button.

Just follow these simple steps:

  1. Click Edit texts.
  2. Edit all the texts you want.
  3. Click Stop editing texts.

create ninja forms on the frontend

5- Make the final changes and save the page

Once you’ve hidden the unnecessary elements and edited all the texts you want, you can:

  • Tick the Hide notices added by other plugins or themes checkbox to prevent users from seeing admin notices on the frontend.
  • Tick the The users should see the posts created by them only checkbox to show the user’s own posts only.
  • Click Save to apply the changes.

ninja forms front-end

6- Optional. Edit the “Add New” form on the frontend

Once you have saved the changes, you can click Add New to edit the form on the frontend.

ninja forms front-end

You can remove any unnecessary elements from the “add new” form. For example, you can hide all the templates for which a paid plan is required.

Also, you can edit the texts from the “add new” form.

Once you’re done, click Save to apply the changes.

ninja forms front-end

7- Allow users to create and manage Ninja Forms on the frontend

This is how your front-end Ninja Forms dashboard page will look.

ninja forms front-end

If you click the New button, you’ll see the “add new” form. Users will be able to select which type of form they want to create.

ninja forms front-end

 

Once they’re in the form builder, this is how the page will look. As you see it looks really clean.

ninja forms front-end

 

This is how the users will see the Emails & Actions section on the front-end form builder.

ninja forms front-end

Important: Keep in mind that only users with the manage_forms capability will be able to view, create and edit forms on the front-end. Here’s a tutorial where you can learn how to grant any permissions to any user role using the User Role Editor plugin.

The next tutorial will guide you to display the form submissions on the frontend.

Try plugin for free

You can try the premium plugin on your website for free for 7 days.

Do you need help?

You can receive instant help in the live chat during business hours, or you can contact us and we will help you via email.