netfrag.org . TWiki . TWikiForms |
WebTopicEditTemplate
topic in a Web and adding a form to it. Initial form values can be set here.
DEFAULTFORM
variable in WebPreferences is optional. If present it specifies the default form for all topics in the Web. Every time you edit a topic you will be presented with a form. The form must contain the special field UseForm
(analogous to the UseCategory
line in the old category system). The values for this must be:
WEBFORMS
variable in WebPreferences is optional and defines a list of possible form templates e.g.
WEBFORMS
.
Name: | Type: | Size: | Values: | Tooltip message: |
---|---|---|---|---|
UseForm? | radio | 0 | Yes, No | Select 'No' to remove the form |
TopicClassification? | select | 1 | NoDisclosure?, PublicSupported?, PublicFAQ? | blah blah... |
OperatingSystem? | checkbox | 3 | OsHPUX?, OsLinux?, OsSolaris?, OsWin? | blah blah... |
OsVersion? | text | 16 | blah blah... |
Name: | Type: | Size: | Values: | Tooltip message: |
---|---|---|---|---|
UseForm? | radio | 0 | Yes, No | blah blah... |
TopicClassification? | select | 1 | blah blah... | |
OperatingSystem? | checkbox | 3 | blah blah... | |
OsVersion? | text | 16 | blah blah... |
Name: | Type: | Tooltip message: |
---|---|---|
NoDisclosure? | option | blah blah... |
PublicSupported? | option | blah blah... |
PublicFAQ? | option | blah blah... |
...
can be used for force a link, at present ...
format is not supported
WebTopicEditTemplate
or using fieldFLD=value or for checkboxes fieldFLDcheckbox=1 in URL
UseForm
field is special.
DEFAULTFORM
and WEBFORMS
WebPreferences in the same Web.
UseCategory
is now UseForm
WEBFORMS
variable defines possibles form templates that can be selected after pressing "Change" (forms) button on edit page
twikicatitems.tmpl
defines the categories and is used in the conversion. The form template must be put as first item in WebPreferences variable WEBFORM
or DEFAULTFORM
(if/when put in). If it's not present, an oops dialog results.
-- JohnTalintyre? - 07 Aug 2001
----- Revision r1.1 - 07 Aug 2001 - 16:22 - JohnTalintyre?
|