netfrag.org . TWiki . TWikiForms |
WEBFORMS
variable in WebPreferences is optional and defines a list of possible form templates e.g.
WEBFORMS
.
A default form template (i.e. new topics get this default form) can be provided by creating the WebTopicEditTemplate
topic in a Web and adding a form to it. Initial form values can be set here.
Addtionaly a new topic can be given a form using the formtemplate
parameter in the URL. Initial values can then be provided in the URLs or as form values. Names being:
Name: | Type: | Size: | Values: | Tooltip message: |
---|---|---|---|---|
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: |
---|---|---|---|---|
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
formtemplate
parameter in the URL.
WEBFORMS
variable defines possible 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
. If it's not present view
works, but edit
results in an oops dialog results. If things aren't working correctly there may be entries data/warning.txt
.
----- Revision r1.3 - 29 Aug 2001 - 16:10 - JohnTalintyre?
|