Question
How to get the data entered in a form within a topic (that is a form definition within a topic not an appended form to topic) to populate a sortable table on another topic page. The example of this on TWiki that I'm thinking of is the Bug Reports topic that (perhaps?) populates the Known Issues of
TWiki01Sep2004. Maybe there are a few steps in between. I need some plain English explanations of what are the key variables and settings. I can create tables and forms fine, but just can't get my head around the syntax for the automated population.
In summary the main things I need to know how to do are:
- script the paths between the "submit" form and the display table
- script the display table to read and store the submitted data
- script the display table to have sortable columns
Environment
--
SueLocke - 11 Oct 2004
Progress
Plugging away at this and seeing if I can make my way through the process. Looks like the process involves something like this:
- HTML form in a page links to a template page that has a webform attached to it
- The submit function of the HTML form generates a TWiki page with content populated into correct fields in the template, and a value (setting the status of the submission) is set in the webform
- Topic page set to display data in tabular form that matches the initial value in the webform
- Other topic pages set to display data tabular form that matches other values set by human intervention with the original topic page and webform.
So you might have a set of values such as "New", "Review", "Approved", as the values in the webform if you were dealing with a process where you reviewed material before it's status changed to being say "official".
Am I on the right track? Nevertheless, the syntax still defeats me.
Answer
Sandbox examples have helped solved this. Still working though on input type statement to invoke a drop down list in a cell.
--
SusanLocke - 2026-01-04
Ahah - got it sorted now - at
http://www.juliediamond.net/cgi-bin/view/Commons/ResearchToDo
.
--
SusanLocke - 2026-01-04