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’
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.
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
I suggest the following process:
- 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.
- 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.
- 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
Did this fix your problem?
Is the information displaying as outlined above, or is there still a problem?
Martin
By the way, what happens if you use:
[cformstable display='table' form='Note Builder']