Formidable Forms

Formidable Forms

  • Features
  • Pricing
  • Resources
    • Docs & Support
    • Blog
    • Community
  • Solutions
    • Web Applications
    • Calculators
    • Surveys
    • Directories
    • Payments
    • Contact forms
  • Login
  • Get Formidable Forms

Display a List of Entries

Last Updated: December 22, 2020

Knowledge Base → Entries → Listing Entries → Display a List of Entries

— Premium Feature —

Add a list of form entries to a page, post, or widget with a link to edit an entry. Each entry in the list can be linked to a View or the admin entry page. By default, the entry creation date is displayed in the list of entries.

Formidable Forms is the best WordPress Form Builder plugin. Get it for free!
Note: You must first allow front-editing of entries for this shortcode to work. Only users who have the proper editing permissions can edit the entry.

Use the shortcode builder

  1. Go to a WordPress page or post.
  2. Click on the 'Formidable' button above the content box.
    Publish Form Add Form
  3. Click 'List of Entries', then select the form that holds the entries you would like to use and choose from the options below.
    List Entries Shortcode Builder
  4. Click the 'Insert into Post' button.

Insert the shortcode manually

Insert the following shortcode in a page, post, widget, or anywhere shortcodes are accepted.

[frm-entry-links id=x]

Use this shortcode to display a list of entries from a particular form. Replace x with the form ID.

Parameters

Required

  • id - ID of the form

Optional

  • field_key - Include a field key or ID to specify which field will be displayed in place of the entry creation date. This will display the data that has been stored in that field for each entry. For best results, make this field required in your form. Usage:
    [frm-entry-links id=x field_key=adjh29]
  • type - Display the entries as a list (default), dropdown, or a collapsed list by using 'list', 'select', or 'collapse'. Use type=collapse to collapse the list by year and by month. Use type=select to insert a dropdown with a list of the entries. Usage:
    [frm-entry-links id=x field_key=y type=select]
  • user_id - Determine which entries will be seen by each user. Use user_id=current to only display entries submitted by the current user (this is the default behavior). Use user_id=0 if you would like to display all submitted entries for each user. Usage:
    [frm-entry-links id=x user_id=0]
  • order - Customize the order of entries displayed. When this is not included, the entries are ordered by ascending creation date. Usage:
    [frm-entry-links id=x order=DESC]

    To order by a field value, use order=' ORDER BY meta_25 DESC'. Replace 25 with the ID of the field to order by.

  • page_id - If you put the entry list on a different page from the form, add the ID of the page where your form is published. Usage:
    [frm-entry-links id=x page_id=5]
  • show_delete - Add a delete link next to each list item or next to the dropdown. Include the label for the link in this parameter. Usage:
    [frm-entry-links id=x show_delete="Delete"]
    • confirm - If using the show_delete parameter, you can display a pop-up message to confirm entry deletion. Usage:
      [frm-entry-links id=x show_delete="Delete" confirm="Permanently delete your entry?"]
  • link_type - Change the link to point to the admin entry, a different location on the page, or a normal front-end link (default) by using 'admin', 'scroll', or 'page'. If you use 'scroll', you will need a View on the same page. It expects a container with id="[key]". Usage:
    [frm-entry-links id=x link_type=admin]
  • drafts - By default, draft entries are not included in this list. Include drafts with:
    [frm-entry-links id=x drafts=1]
  • class - Add a class on the highest level object in the returned list.
    [frm-entry-links id=x class="addclasses here"]

PHP Alternative

FrmProEntriesController::entry_link_shortcode(array('id' => x, 'field_key' => 'key_here'));
  • 'x' = ID of the form
  • 'key_here' = ID or key of the field you would like to display

Additional Customization

If the frm-entry-links shortcode doesn't have enough built-in options to meet your needs, you can create a View to accomplish the same thing. Just set the View to show 'All Entries' and insert the following link into the content box:

<a href="/page-with-form?frm_action=edit&entry=[key]">entry title here</a>

Change 'page-with-form' to the URL of the page where the form is published. When this link is clicked, it takes the user to edit the attached entry.

  • Use the shortcode builder
  • Insert the shortcode manually
  • Parameters
  • PHP Alternative
  • Additional Customization
Categories
×

Categories

  • Installation & Getting Started
  • Account Management
  • Forms
  • Entries
  • Views
  • Styles
  • Importing & Exporting
  • Add-Ons
  • Extend Formidable Forms

Using WordPress and want to get Formidable Forms for free?

Get Formidable Forms Lite Now

You do not have permission to view this form. Maybe you need to log in?

This article may contain affiliate links. Once in a while, we earn commissions from those links. But we only recommend products we like, with or without commissions.

Take on bigger projects Right Now

Get the tools you need to revolutionize your workflow and architect a masterpiece. Build the most advanced WordPress forms and actually use the data you collect in meaningful ways.

Get the most advanced WordPress form plugin and the only form builder with integrated Views.

Get Formidable Forms Now

Resources

  • Community
  • Affiliates
  • Contact
  • Free Online Form Builder

Top Features

  • Application Builder
  • Calculator Forms
  • Surveys & Polls
  • Quiz Maker
  • Form Templates
  • Application Templates
  • Directories
  • Donation Plugin

Company

  • About Us
  • Giving Back
  • Careers
  • Newsletter
  • WP Tasty
  • Nutrifox

Copyright © 2023 Strategy11, LLC. Formidable Forms® is a registered trademark Strategy11, LLC.
Privacy Policy | Terms of Service | Sitemap

Join 300,000+ using Formidable Forms to create form-focused solutions fast. Get Started See User Reviews