Line: 1 to 1 | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
| ||||||||||||||||
Line: 13 to 13 | ||||||||||||||||
Form Templates replace TWikiCategory Tables from the 01-Dec-2000 version of TWiki. | ||||||||||||||||
Changed: | ||||||||||||||||
< < | Changes from the Category Table System | |||||||||||||||
> > | Main Changes from Category Tables | |||||||||||||||
Form Templates more powerful, flexible replacement for the original TWikiCategoryTable. Data from existing category tables can be imported directly. | ||||||||||||||||
Deleted: | ||||||||||||||||
< < | Main changes from TWikiCategoryTable: | |||||||||||||||
| ||||||||||||||||
Changed: | ||||||||||||||||
< < | Importing Existing Category Table Data | |||||||||||||||
> > | Importing Category Table Data | |||||||||||||||
On upgrading from the previous TWiki, a Form Template topic has to be built for each web that used a Category Table, recreating the fields and values from the old twikicatitems.tmpl . The replacement Form Template must be set as the first item in the WebPreferences variable =WEBFORM . If missing, pages will display, but attempting to edit results in an error message. | ||||||||||||||||
Line: 33 to 31 | ||||||||||||||||
NOTE: If things aren't working correctly, there may be useful entries in data/warning.txt . | ||||||||||||||||
Changed: | ||||||||||||||||
< < | Form Template Elements | |||||||||||||||
> > | Defining a Form TemplateA Form Template is simply a page containing your form, defined in a table where each row is one form field.Form Template Elements | |||||||||||||||
| ||||||||||||||||
Line: 49 to 51 | ||||||||||||||||
| ||||||||||||||||
Changed: | ||||||||||||||||
< < | Defining a Form TemplateA Form Template is simply a page containing your form, defined in a table where each row is one form field. | |||||||||||||||
> > | Defining a Form in One Topic | |||||||||||||||
| ||||||||||||||||
Line: 68 to 68 | ||||||||||||||||
OsSolaris , OsWin | blah blah... |
| ||||||||||||||||
Deleted: | ||||||||||||||||
< < |
Defining a Form in One TopicExample: WebFormTemplate from the TWiki.Know web | |||||||||||||||
| ||||||||||||||||
Line: 81 to 75 | ||||||||||||||||
| ||||||||||||||||
Changed: | ||||||||||||||||
< < | Defining a Form in Multiple Topics | |||||||||||||||
> > | Defining a Form with Multiple Topics | |||||||||||||||
The Form Template can also be defined in an alternative way by using more then one topic: | ||||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
Changed: | ||||||||||||||||
< < | Code from: | |||||||||||||||
> > | Example: WebFormTemplate | |||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
| ||||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
Changed: | ||||||||||||||||
< < |
| |||||||||||||||
> > |
| |||||||||||||||
| ||||||||||||||||
Changed: | ||||||||||||||||
< < | Implementation Notes
| |||||||||||||||
> > |
| |||||||||||||||
| ||||||||||||||||
Line: 131 to 125 | ||||||||||||||||
| ||||||||||||||||
Changed: | ||||||||||||||||
< < | Creating New Topics with Forms | |||||||||||||||
> > | Including Forms in New TopicsWhen you create a new topic in a web that has the WEBFORMS Preferences variable set, an Add Form button appears at the bottom of the page. You can start all new topics with forms enabled, and pre-select a form if there's more than one available: | |||||||||||||||
Changed: | ||||||||||||||||
< < | When you create a new topic in a web that has the WEBFORMS Preferences variable set, an Add Form button appears at the bottom of the page. If the WebTopicEditTemplate topic has a form added, the form will appear with values set; press Change to remove the template or to switch to a different one. | |||||||||||||||
> > |
| |||||||||||||||
A form embedded in a topic also appears in a new topic. This is done by specifying the formtemplate parameter in the URL. |