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 Single Entry in a Table

Last Updated: December 7, 2021

Knowledge Base → Entries → Listing Entries → Display a Single Entry in a Table

— Premium Feature —

Use this shortcode to display the content from an entry in a table. The presentation of data is not customizable in this shortcode. If you need more control, you can create a View.

Formidable Forms is the best WordPress Form Builder plugin. Get it for free!

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 'Single Entry' then insert the entry ID/key and select from the options below.
    Single Entry Shortcode Builder
  4. Click the ‘Insert into Post’ button.

Insert the shortcode manually

Display the content from an entry by inserting the following shortcode on a page, post, View, or in an HTML field in a form.

[frm-show-entry id=x]

'x' = ID of the entry to display

Parameters

Required

  • id - The id of the entry to display. If you are using this shortcode inside of a View you can use id=[id].

Optional

  • plain_text - By default, this shortcode displays the content in a table. You can remove the HTML and display only the text by including plain_text=1.

    [frm-show-entry id=x plain_text=1]
  • user_info - Display user information in the table, including IP address, browser, and referring URL.

    [frm-show-entry id=x user_info=1]
  • include_blank - Include blank fields in the displayed content.

    [frm-show-entry id=x include_blank=1]
  • include_extras - By default, page breaks, headings, and HTML fields aren't included in this shortcode. You can include any/all of them as shown here:

    [frm-show-entry id=x include_extras="page, section, html"]
  • include_fields - Only include specific fields in the displayed content.

    [frm-show-entry id=x include_fields="10,15"]
  • exclude_fields - Exclude specific fields in the displayed content.

    [frm-show-entry id=x exclude_fields="10,15"]
  • show_image - If a file upload field is included, show any images with show_image=1. By default, the image url will be displayed.

    [frm-show-entry id=x show_image=1]
  • show_filename - When an image is displayed with show_image, include the filename as well.

    [frm-show-entry id=x show_image=1 show_filename=1]
  • add_link - Link to the full-sized image. This may be used in conjunction with show_image=1 and/or show_filename=1.

    [frm-show-entry id=x show_image=1 show_filename=1 add_link=1]
  • direction - By default the entry is displayed field names in the left column and entries in the right column. Switch those columns by using this shortcode:

    [frm-show-entry id=x direction=rtl]
  • font_size - Determine the size of the font.

    [frm-show-entry id=x font_size="25px"]
  • text_color - Determine the color of the text.

    [frm-show-entry id=x text_color="b642f4"]
  • border_width - Determine the width of the border.

    [frm-show-entry id=x border_width="1px"]
  • border_color - Determine the color of the border.

    [frm-show-entry id=x border_color="000000"]
  • bg_color - Determine the color of the background.

    [frm-show-entry id=x bg_color="ffffff"]
  • alt_bg_color - Determine the background color of the alternating rows.

    [frm-show-entry id=x alt_bg_color="eeeeee"]
  • line_breaks - Remove automatic line breaks from paragraph fields.

    [frm-show-entry id=x line_breaks="0"]
  • format - Specify which format the entry should be returned in. By default, the entry will be returned in a table (format=text). The other options include format=json and format=array. These alternative formats are best to use directly in php instead of using the shortcode on a page.
  • array_separator - Use a different separator for multiple checkboxes or dropdown values. By default, this will be a comma separator.
    [frm-show-entry id=x array_separator="<br/>"]

PHP Alternative

echo FrmProEntriesController::show_entry_shortcode( array( 'id' => x, 'plain_text' => 0, 'format' => 'text' ) );

'x' = ID of the entry you want to display

Get an entry array

$entry = FrmProEntriesController::show_entry_shortcode( array( 'id' => x, 'format' => 'array' ) );

'x' = ID of the entry you want to display

Related Topics

  • Show a Form Entries Table
  • Use the shortcode builder
  • Insert the shortcode manually
  • Parameters
  • PHP Alternative
  • Get an entry array
  • Related Topics
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