netfrag.org . TWiki . TWikiForms |
Example: Form Template| *Name:* | *Type:* | *Size:* | *Values:* | *Tooltip message:* | | TopClass | select | 1 | Select one..., Private, Public | must fill | | Target | checkbox+buttons | 3 | 1, No.2, No.3 | Select OS | | Version | text | 16 | | OS version |
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... |
Code from:
...
can be used for force a link, at present ...
format is not supported.
WebTopicEditTemplate
or using field=value or for checkboxes fieldWEBFORMS
variable in WebPreferences is optional and defines a list of possible Form Templates. Example:
WEBFORMS
enabled, an extra button is added to the edit view. If the topic doesn't have a Form, an Add Form button appears at the end of the topic. If a Form is present, a Change button appears in the top row of the Form. The buttons open a screen that enables selection of a form specified in WEBFORMS
, or the No form option.
WebTopicEditTemplate
topic in a web and adding a form to it. Initial Form values can be set there.
formtemplate
parameter in the URL. Initial values can then be provided in the URLs or as form values. Names being:
formtemplate
parameter in the URL.
WEBFORMS
variable defines alternative Form Templates that can be selected by pressing Change in edit mode.
SubmitExpenseReport
topic where you can create new expense reports - a SubmitVacationRequest
topic and so on. These can specify the required template topic with its associated Form.
----- Revision r1.7 - 07 Sep 2001 - 11:10 - MikeMannix?
|