Formidable Forms for WordPress forms offers a variety of shortcodes, or shortcuts, which can be used to easily accomplish a number of different tasks. These Formidable shortcodes can do anything from displaying an edit link to calculating a statistic from your form entries. Formidable shortcodes can be inserted on any page, post, View, text widget, or even an HTML field in a form. Below is a complete list of all the shortcodes provided by Formidable.
Display a list of entries
[frm-entry-links id=x]
Add a list of entries to a page, post, or widget. Just 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 will be the entry creation date, however, this can be customized. For more information, see how to Display a List of Entries.
Display a table of entries
[formresults id=x]
Display all entries from a form in a table without adding any HTML. Just replace 'x' with the ID of your form. Customization of this table is limited. If you need more control, you can create a View. For more information on this shortcode, click here.
Display a single entry in a table
[frm-show-entry id=x]
Display the content from a single entry in a table. Just replace 'x' with the ID of the entry to display. The presentation of data is not customizable in this shortcode. If you need more control, you can create a View. For more information on this shortcode, click here.
Set values for views and forms
[frm-set-get param_name="value"]
This shortcode allows you to set values, or parameters, that can be used within Views and forms. Once parameters are set using this shortcode, they can be used to filter Views, to set default values within forms, and to further customize form and View interactions. For more information, click here.
Get a value from an entry
[frm-field-value field_id=x entry_id=y]
You may get the value from a field and display it on a page, post, View or in a field from a different form. See Get a Value from an Entry for more information.
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]
You may insert an edit link on any page, post, or View to allow users to easily edit or update an entry. Before an edit link will work correctly, you need to set up your form to allow editing for a single entry or multiple entries. Learn more about adding edit links.
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 via Ajax. If the current value of that field is the same as the value parameter in your shortcode, the link will not be seen. For more information on this shortcode, click here.
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"]
Allow users to easily delete entries by adding a delete link to a page, post, form, or View. When a user clicks on the delete link, the specified entry will be deleted. For more information, see how to Allow Users to Delete Entries.
Publish a form
[formidable id=x]
This shortcode can be used to publish your form wherever you would like. Just replace x with the ID of your form. For more information, see 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 Views using this shortcode. Just replace 'x' with the ID of the View. Read more about how to publish a view.
Display repeating section data
Use the [foreach] shortcode to display entries from a Repeating Section in a View or email. The [foreach] shortcode allows you to group field values together when they are from the same row in the Repeating Section.
[foreach 100] [101] - [102] [/foreach]
Replace 100 with the field ID of the Repeating Section. Replace 101 and 102 with the field IDs that are inside of the Repeating Section.
Insert field totals and statistics
[frm-stats id=x type=count]
Calculate a variety of different statistics from your form entries using this shortcode. Replace 'x' with the ID of a field in your form. (Please note that this is the id a field in your form, not the id of the form.) You can calculate a total, average, entry count, maximum, minimum, etc. For complete information about this shortcode and its parameters, click here.
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, e.g. [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]
You may display a graph of the results of a form on any page, post, View, or form. Just replace 'x' with the ID of your form. To see what your graph options are, go into your form and click on “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 using this shortcode. This search bar is specifically meant to search Views, an entry list, or a Formidable table of entries. For more information on this shortcode, see Insert a Search Form.
Basic helpers
A Customization panel is located in the right sidebar on the form settings page or View settings. The bottom of the Insert Fields section shortcodes are used to insert the entry ID, post ID, date and time the entry was created, your site URL, etc.
Advanced helpers
See a list of advanced shortcode helpers.
Default values
There are several shortcodes which can be used to autopopulate 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, etc. For more information on default values, refer to the dynamic default values page.
Conditional statements
[if 125 equals="Yes"]Content[/if 125]
Conditional statements like this can be used in several places to conditionally show certain content. They are most commonly used in Views and email messages, but they can also be used to direct users to a different URL or display a different confirmation message depending on a response in the form. See a complete list of conditional statement shortcodes.
Compare values
The frm-condition shortcode can be used to compare values before displaying something on the page. It can be used just like conditional statements, but isn't limited to views. Read more about how to compare two values for display.
Dynamic Fields
To view Dynamic Field shortcode options, click here.
HTML tags
While on the form "Customize HTML" page, a Customization panel will appear in the right sidebar. The Customization panel contains field and form shortcodes for easier form customization.
File upload fields
Maybe 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 UserID field in your form, you can display information from the selected user's profile in a View, email, or confirmation message. The UserID shortcodes can be found in the Advanced section of the Customization panel which is located in the right sidebar when you are in your form Settings or a View. The complete list of UserID shortcode parameters are listed on the UserID field page.