Insert a list of entries

Knowledge BaseManage Data and EntriesEntry Management → Insert a list of entries
[frm-entry-links id=x]

Add a list of entries to a page, post, or widget. Each entry shows as a link to view or edit the entry.

Shortcode Parameters

id – The ID of the FORM to display entries from.

field_key (optional) – Specify the field to use in place of the entry creation date. This will use whatever data is inputted into that field for each entry. For best results, make this field required in your form. Accepts a field ID or a field key. field_key=adjh29

type (optional) – This defaults to an unordered list. Options: “list”, “select”, and “collapse”. “Select” will insert a drop-down list of the entries that will redirect to the selected entry. Add type=select to your shortcode to switch to a drop-down. Example

logged_in (optional) – This option determines which entries will be seen by each user. Options are 1 (only entries for current user) or 0 (all entries). This defaults to only include entries submitted by the current user. Add logged_in=0 to display all entries submitted into the specified form.

edit (optional) – Should this link show the entry, or allow the user to edit the form? This defaults to edit links. Add edit=0 for links that will just display the entry.

page_id (optional) – If you do not want the form on the same page as the entry list, add the ID of the page your form is displayed on. page_id=5

show_delete (optional) – Show a delete link next to the dropdown or links to the entries. Include the text for the link in this parameter. show_delete=”Delete”

link type (optional) – You can change the link to point to the admin entry, a different location on the page, or a normal front-end link (default). If you use “scroll”, you will need a custom display on the same page. It expects a container with id=”[key]“. You can see an example of the scroll option on the FAQ page. link_type=admin or link_type=scroll or link_type=page

Your shortcode could end up looking something like this:

[frm-entry-links id=x type=select field_key=adjh29 logged_in=0 edit=0]

PHP Alternative

FrmProEntriesController::entry_link_shortcode(array('id' => x, 'field_key' => 'key_here'));

Need more customization?

If the frm-entry-links shortcode doesn’t have enough options to meet your needs you can create a custom display to do the same thing.

  1. Set the custom display to show “All Entries.”
  2. Insert the edit link into the content box:
    <a href=”/page-with-form?action=edit&entry=[key]“>entry title here</a>
This page was added on
This page was last modified on