It's simple to use WordPress to display form submissions. We’ll show you how in three easy steps!
If you've looked for a way to reach out to your audience, chances are you've heard of using forms. Users can easily fill out premade templates to get in touch. However, while collecting these can be simple, using WordPress to display form submissions can be tricky.
Fortunately, our plugin makes it easy. With Formidable Forms, you can use WordPress to display form entries on the front end of your site in whatever way you like.
In this article, we'll cover why you might want to do this. Then we'll take you through three easy steps to getting started. Let's dive right in!
Why you might want to display form submissions in WordPress
Forms gather important information from your audience. Some of these you might want to keep to yourself. An example of a private submission might be a customer's request for a quote.
However, there are other times when you might want to display entries on the page. For example, you might want to show off your business with customer testimonials.
Using WordPress to display form entries like this can create a sense of community. Other users will see user submitted posts from people like them, which can make you appear more trustworthy and authoritative. This can also be a hands-off way to fill your site with interesting content.
How to display form submissions in WordPress (3 steps)
Fortunately, you can display form submissions for almost any purpose in just three steps. Before we start, you'll need the premium Formidable form maker installed and activated.
Step 1: Collect WordPress form entries to display
The first step is to create a form. This is where you'll get your submissions from. To get started, go to your WordPress dashboard. Navigate to Formidable → Forms → Add New:
From there, you can use our drag-and-drop interface to create the form you want to use. Formidable Forms makes it easy to tailor each field to your exact needs.
For example, let's say you want to add real estate listings. A few possible features you'd want to include might be a photo of the home, the number of bedrooms, and the real estate agent's contact information. When you're done editing your form, click on Update to save your work.
Next, you'll want to post this form where users can fill it out. The easiest way to do so is with a form block. Go to edit or create a WordPress page and search for "Formidable".
Once your form is up and running, you should start getting entries from users. However, to display these entries on your site, you'll need to follow a few more steps.
Step 2: Create a new view
Next, you'll create a View to display these entries. First, go to Formidable → Views → Add New and choose a View type to get started. We'll use a Grid view for this example. You can also choose a table view, calendar view, or classic view to use all your own HTML.
Select the form you'd like to collect data from in the Use Entries from Form dropdown:
Now, you can either click start adding content or create whatever layout you would like.
Next, let's add content to the View. Click the + in a layout box and then click the form fields in the sidebar to add them in to the content box. Since this program is so flexible, you can also adjust formatting if you wish.
Finally, you'll reach the Advanced Settings section. There you can adjust options such as the page size and limit the number of entries to show. Additionally, you might want to filter entries.
Moreover, we also recommend that you add your own No Entries Message. The default message will work, but this is an easy way to customize your website for your users.
Once you've finished formatting your submissions, click on Publish. This display view will then automatically collect submissions from the form you created in the first step. Afterward, move on to the last step to use WordPress to display form submissions.
Step 3: Publish your view
Finally, you can publish your new view. To get started, you'll need its shortcode. Go to Formidable → Views, and find your view in the list. Take a look in the left sidebar to quickly find the shortcode.
Alternatively, you can also find it on the editing page. To do this, navigate to the view's Settings → General area and find the section titled Embed Shortcode.
You can now use this shortcode to display form submissions on your site. Just paste it wherever you like, whether that's on a page or post, or in a widget or menu. Visitors will be able to see your form submissions, which will also be filtered and formatted according to your settings.
If you'd rather use PHP, that's also an option. The PHP insert code is included right beneath the shortcode in the View sidebar.
You have another posting option as well. You can use a Formidable Forms widget to automatically display your form submissions via the Block Editor.
When you're creating a website, showing input from users can be helpful. To do this, you'll want WordPress to display form submissions automatically. Fortunately, Formidable Forms makes this process easy, no matter what kind of entries you'd like to post.
In this article, we covered three simple steps to display form entries on the front end:
- Create a form that will collect the form data you'd like to display.
- Set up a new View to format and filter those entries.
- Use a shortcode, widget, or PHP to publish the View with its submissions.
Formidable Forms can give you even more flexibility when it comes to user submissions and displaying front-end posts. Feel free to look at some of our other features if you're interested in taking your site to the next level!