Viewing 1 replies (of 1 total)
  • Hi wolfart,
    That page does seem broken. I have used a few [formdata] options and have found a few threads where they are discussed.

    Basically: [formdata form-1] i.e: [formdata (slug)]

    To show only some columns: [formdata form-1 table show="foo,bar,blah"]

    From two years ago ( https://goo.gl/BYjftB ):

    Version 1.4.16 lets you display the submitted data with the ‘formdata’ shortcode. I will be putting an article in the FAQ, but basically it works as follows:

    [formdata (form slug)]

    You can also add options, like if you want to show 10 items per page, do:

    [formdata (form slug) dataperpage=10]

    Or, if you want to sort the results by something other than the timestamp, for example by an item with the nickname ‘item-1’:

    [formdata (form slug) orderby="item-1"]

    You can also make the list sorted in ascending, rather than descending order:

    [formdata (form slug) order=ASC]

    If you have a particular template you would like to use, other than the default summary, and the template’s filename is ‘my-custom-template.php’:

    [formdata (form slug) template='my-custom-template']

    Of course, you use as many of the above options as you want:

    [formdata (form slug) dataperpage=10 orderby="text-1" order=ASC template="my-custom-template"]

    Hopefully that explains it.

Viewing 1 replies (of 1 total)
  • The topic ‘Syntax for formdata shortcut’ is closed to new replies.