Formidable Forms

The Most Advanced WordPress Forms Plugin and Form Builder

  • Features
  • Pricing
  • Blog
  • Support
  • Login
  • Get Formidable Forms

Display a Single Entry in a Table

Last Updated: July 21, 2020

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.

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.

Formidable Forms is the best WordPress Form Builder plugin. Get it for free!
[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.

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
Install Formidable Lite

Using WordPress and want to get Formidable Forms for free?

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

Top Features

  • Front End Editor
  • Repeating Fields
  • Views from Entries
  • Calculator Forms
  • Conditional Logic
  • Visual Form Styler
  • Form Templates
  • User Submitted Posts
  • File Upload Forms
  • Spam Protection
  • Multi Page Forms
  • Surveys & Polls
  • Form Graphs & Charts
  • Save and Continue
  • Mobile Forms
  • Stripe Forms
  • PayPal Forms
  • WooCommerce Forms
  • MailChimp Forms
  • User Registration
  • Signature Forms
  • Bootstrap Forms
  • Quiz Maker
  • Zapier Forms
  • Salesforce Forms
  • HubSpot Forms
  • API Webhooks
  • Multilingual Forms
  • Directories

Company

  • About Us
  • Giving Back
  • Careers
  • Newsletter
  • Blog

Copyright © 2021 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