Formidable Forms offers a variety of shortcodes, or shortcuts, that do many different tasks. These Formidable shortcodes can do anything from displaying an edit link to calculating a statistic from your form entries. Insert them on any page, post, View, text widget, or even an HTML field in a form. Here is a list of the main shortcodes Formidable provides.
Each box in your forms and Views accepts a different set of shortcodes. Learn more about how to check which shortcodes work in each box.
Upgrade your WordPress site with powerful, flexible forms.
Display a list of entries
[frm-entry-links id=x]
Add a list of entries to a page, post, or widget. Replace x with the ID of your form.
Each item in the list can be used as a link to view or edit the entry. The list can be a dropdown, a collapsed list, or a full list. By default, each list item is the entry creation date, but you can customize it.
Learn more about how to display a list of entries.
From Idea to Reality in Minutes. Build Powerful Forms, Dashboards, Apps and More.
Formidable Forms makes advanced site building simple. Launch forms, directories, dashboards, and custom WordPress apps faster than ever before.
Display a table of entries
[formresults id=x]
Display all entries from a form in a table without adding any HTML. Replace x with the ID of your form.
Customization of this table is limited. If you need more control, you can create a View. Learn more about how to show form responses on your site.
Display a single entry in a table
[frm-show-entry id=x]
Display the content from a single entry in a table. Replace x with the ID of the entry to display.
If you need more control, you can create a View. Learn more about how to show the details of a single entry.
Set values for Views and forms
[frm-set-get param_name="value"]
This shortcode sets values, or parameters, that you can use in Views and forms. Once you set parameters with this shortcode, use them to filter Views and to set default values in forms. You can also use them to customize how forms and Views work together. Learn more about how to set values for use in Views and forms.
Get a value from an entry
[frm-field-value field_id=x entry_id=y]
Get the value from a field and display it on a page, post, View, or in a field from a different form. Replace x with the ID of the field and y with the ID of the entry. Learn more about how to get a value from an entry.
Add an edit link
In pages and posts
[frm-entry-edit-link id=x label="Edit" page_id=y]
In Views and forms
[editlink location="front" label="Edit" page_id=2]
Insert an edit link on any page, post, or View so users can edit or update an entry. Before an edit link works, you need to set up your form to allow editing for a single entry or multiple entries. Learn more about the frm-entry-edit-link shortcode and the editlink shortcode.
Insert a link to update a field
[frm-entry-update-field id=x field_id=y value="new value"]
This shortcode adds an Update link that changes the value of a single field in a single entry without reloading the page. If the field's current value is the same as the value parameter in your shortcode, the link isn't shown.
Before this link works, set up your form to allow editing. Until then, administrators see "Front-end editing is disabled." in place of the link, and other users see nothing. Learn more about how to insert a link to change the value of a single field.
Add a delete link
In pages and posts
[frm-entry-delete-link id=x page_id=y label="Delete"]
In Views and forms
[deletelink label="Delete"]
Let users delete entries by adding a delete link to a page, post, form, or View.
When a user clicks the delete link, the browser asks "Are you sure you want to delete that entry?" When the user confirms, the entry is deleted. Learn more about how to allow users to delete entries.
Publish a form
[formidable id=x]
Use this shortcode to publish your form anywhere on your site. Replace x with the ID of your form. Learn more about how to publish a form.
Publish a View
[display-frm-data id=x filter=1]
Publish a View on a page, post, or within another View with this shortcode. Replace x with the ID of the View. Learn more about how to publish a View.
Display repeating section data
Use the foreach shortcode to display entries from a Repeater field in a View or email. The foreach shortcode groups field values together when they are from the same row in the Repeater.
[foreach 100] [101] - [102] [/foreach]
Replace 100 with the field ID of the Repeater. Replace 101 and 102 with the IDs of fields inside the Repeater.
Insert field totals and statistics
[frm-stats id=x type=count]
Calculate a variety of statistics from your form entries with this shortcode. Replace x with the ID of a field in your form, not the ID of the form.
You can calculate a total, average, entry count, maximum, minimum, and more. Learn more about how to add field totals and statistics.
Calculate a value
[frm-math]100 - [frm-stats id=100 type=count][/frm-math]
Calculate the value of a math expression in a View, post, page, or anywhere else WordPress shortcodes work. You can use fixed numbers or shortcodes for the values in your math expression.
In a View, email notification, or success message, you can also use field shortcodes, such as [100]. You can use addition (+), subtraction (-), multiplication (*), division (/), mod (%), and parentheses in your math expression. Learn more about the frm-math shortcode.
Insert a graph
[frm-graph id=x]
Display a graph of a form's results on any page, post, View, or form. Replace x with the ID of a field in your form.
To see your graph options, go to Formidable → Forms and open your form. Then click Reports. Learn more about the frm-graph shortcode.
Insert a search form
[frm-search]
Add a search bar to any page, post, widget, or View with this shortcode. This search bar is meant to search Views, an entry list, or a Formidable table of entries. Learn more about how to insert a search form.
Basic helpers
A Customization panel is in the right sidebar of the form settings page and the View settings. The shortcodes at the bottom of the Insert Fields section insert the entry ID, post ID, the date and time the entry was created, your site URL, and more.
Advanced helpers
See a list of advanced shortcode helpers.
Default values
Several shortcodes fill fields in your form with your user's first and last name, today's date, the current time, user meta, a parameter in the URL, and more. Learn more about smart default values.
Conditional statements
[if 125 equals="Yes"]Content[/if 125]
Use conditional statements like this in several places to show certain content only when a condition is met. They are most common in Views and email messages. You can also use them to send users to a different URL or show a different confirmation message, depending on a response in the form.
See a complete list of conditional statement shortcodes.
Compare values
Use the frm-condition shortcode to compare values before displaying something on the page. It works just like conditional statements, but it isn't limited to Views. Learn more about how to compare two values for display.
Dynamic fields
Learn more about the Dynamic field shortcode options.
HTML tags
On the form's Customize HTML page, a Customization panel appears in the right sidebar. It contains field and form shortcodes for easier form customization.
File upload fields
Many field types offer specific shortcode options for customizing the output. Learn more about the options for File Upload fields.
UserID shortcodes
If you have a User ID field in your form, you can display information from the selected user's profile in a View, email, or confirmation message. The User ID shortcodes are in the Advanced section of the Customization panel, in the right sidebar of your form settings or a View. The User ID field page lists every User ID shortcode parameter.