WordPress.org

Forums

Unofficial CForms II table display
Cant get it to export data (8 posts)

  1. gab1982
    Member
    Posted 1 year ago #

    Hi I am getting this error with the latest version of wordpress, cforms2 and your plugin:

    This text only appears to users able to publish pages or posts. There is no CFormsII data that matches the values in your shortcode. Try starting with [cformstable display='table'] to see a list of possible forms you can report from.

    I have tried another plugin but its not working, the code I put into the page was: [cformstable display='table' form='Note_second']

    Am I doing something wrong?

    thanks

    https://wordpress.org/plugins/cformstable/

  2. gab1982
    Member
    Posted 1 year ago #

    Sorry I forgot to mention, its a two stage form, and the Note_second form is the last in the sequance, the first form is called 'Note Builder'

  3. Martin Tod
    Member
    Plugin Author

    Posted 1 year ago #

    You need to put some variables or columns in there too.

    What happens if you put in [cformstable display='table' form='Note_second' cols='2,3']?

    If you're logged in and can publish pages or posts, the messages in the post containing [cformstable display='table' form='Note_second'] should tell you what your options for variables or column numbers are.

  4. gab1982
    Member
    Posted 1 year ago #

    Hi Martin,
    Thanks for your quick reply, I am still getting the same error despite me putting in the columns - I used your exact code, and even using mine when logged in it gave me no suggestions, thus my thought as to why I thought maybe I am doing something wrong?

    Graham

  5. Martin Tod
    Member
    Plugin Author

    Posted 1 year ago #

    I suggest the following process:

    1. Start by entering [cformstable display='table'] into your post or page on its own and on its own line. Preview the page while logged in. This will show a list of possible forms and the number of entries associated with each of them. You will only be able to show data from a table that has 1 or more entries in it.
    2. Copy one of the table names it shows exactly into a second line of your post e.g. [cformstable display='table' form='Note_second'] (but double check that the second form name exactly matches the text shown in the table generated by the first line above). Preview the page while logged in. This will give a new error message and show a list of possible variables and the column number associated with each of them.
    3. Either copy some of the variable names into a third line of your post e.g. [cformstable display='table' form='Note_second' vars='Name of variable 1, Name of variable 2'] or copy some of the column numbers into a third line of your post e.g. [cformstable display='table' form='Note_second' cols='1,2']. If, and only if, there is some data in your table, this will then display a table on the page.

    Martin

  6. Martin Tod
    Member
    Plugin Author

    Posted 1 year ago #

    Did this fix your problem?

    Is the information displaying as outlined above, or is there still a problem?

    Martin

  7. Martin Tod
    Member
    Plugin Author

    Posted 1 year ago #

    By the way, what happens if you use:

    [cformstable display='table' form='Note Builder']
  8. Martin Tod
    Member
    Plugin Author

    Posted 1 year ago #

    Did this work?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Unofficial CForms II table display
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.