Changeset 485 for trunk/core/data/TWiki/TWikiForms.txt
- Timestamp:
- 11/09/08 16:04:28 (4 years ago)
- File:
-
- 1 edited
-
trunk/core/data/TWiki/TWikiForms.txt (modified) (5 diffs)
Legend:
- Unmodified
- Added
- Removed
-
trunk/core/data/TWiki/TWikiForms.txt
r482 r485 14 14 1. Define a form template 15 15 1. Enable the form for a web 16 1. Add the form to a [[T WikiTemplates#Template_Topics][template topic]]16 1. Add the form to a [[TemplateTopics][template topic]] 17 17 1. Build an HTML form to create new topics based on that template topic 18 18 1. Build a FormattedSearch to list topics that share the same form … … 87 87 ---++ Adding a form to a topic 88 88 89 * Edit the topic and follow the "Add form" button to add a Form. This is typically done to a [[T WikiTemplates#TemplateTopic][template topic]], either to the =WebTopicEditTemplate= topic in a web, or a new topic that serves as an application specific template topic. Initial Form values can be set there.89 * Edit the topic and follow the "Add form" button to add a Form. This is typically done to a [[TemplateTopics][template topic]], either to the =WebTopicEditTemplate= topic in a web, or a new topic that serves as an application specific template topic. Initial Form values can be set there. 90 90 91 91 * Additionally a new topic can be given a Form using the =formtemplate= parameter in the (edit or save) URL. Initial values can then be provided in the URLs or as form values: … … 101 101 </form> 102 102 </verbatim> 103 * __%T% Tip:__ For TWiki applications you can [[T WikiTemplates#AutomaticallyGeneratedTopicname][automatically generate unique topicnames]].103 * __%T% Tip:__ For TWiki applications you can [[TemplateTopics#AutomaticallyGeneratedTopicname][automatically generate unique topicnames]]. 104 104 105 105 * __%X% Note:__ Initial values will *not* be set in the form of a new topic if you _only_ use the formtemplate parameter. … … 202 202 ---++ Hints and Tips 203 203 ---+++ Build an HTML form to create new Form-based topics 204 * New topics with a form are created by simple HTML forms asking for a topic name. For example, you can have a =<nop>SubmitExpenseReport= topic where you can create new expense reports, a =<nop>SubmitVacationRequest= topic, and so on. These can specify the required template topic with its associated form. [[T WikiTemplates#TemplateTopics][Template topics]] has more.204 * New topics with a form are created by simple HTML forms asking for a topic name. For example, you can have a =<nop>SubmitExpenseReport= topic where you can create new expense reports, a =<nop>SubmitVacationRequest= topic, and so on. These can specify the required template topic with its associated form. [[TemplateTopics][Template topics]] has more. 205 205 A Form Template specifies the fields in a form. A Form Template is simply a page containing a TWiki table, where each row of the table specifies one form field. 206 206 #UsingFormData … … 224 224 %STOPINCLUDE% 225 225 226 __Related Topics:__ UserDocumentationCategory, T WikiTemplates226 __Related Topics:__ UserDocumentationCategory, TemplateTopics
Note: See TracChangeset
for help on using the changeset viewer.
