Difference: AnApplicationWithWikiForm (1 vs. 7)

Revision 72011-05-05 - TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="TWikiFAQ"

FAQ:

Changed:
<
<
How can I create a simple TWiki Form based application?
>
>
How can I create a simple TWiki Forms based application?
 

Answer:

Changed:
<
<
  1. Create a TWiki Form and define fields (see TWikiForms for details)
  2. Add the form in the list of Web Forms. Set the WEBFORMS setting in WebPreferences
  3. Create a Template Topic
  4. In edit mode add the TWiki Form you defined to the Template Topic using the "Add Form" button
  5. Create a HTML Form with necessary fields
  6. Define SEARCH function for listing items (see VarSEARCH and FormattedSearch for details)

For more information follow the links...

The following is the code source of TWikiFAQ:

<form action="%SCRIPTURLPATH{edit}%/%WEB%/">
New FAQ topic: &nbsp; (Use a name in %SYSTEMWEB%.WikiNotation) <br />
<input type="text" name="topic" size="32" class="twikiInputField" />
<input type="submit" value="Create Topic" class="twikiSubmit" />
<input type="hidden" name="onlywikiname" value="on" />
<input type="hidden" name="templatetopic" value="TWikiFaqTemplate" />
<input type="hidden" name="topicparent" value="%TOPIC%" />
<br />
</form>


And the SEARCH function:

%SEARCH{ "Back to\:__ TWikiFAQ" casesensitive="on" type="regex" nosearch="on" nototal="on"}%
>
>
TWiki applications help automate workflows you have at the workplace. TWiki has a built-in database that can be used to write custom web applications. These are wiki applications that run in TWiki.

A typical TWiki forms based application consists of the following pages:

  • Application home page, typically containing links to other application pages. It may contain also a report showing data records.
  • Form definition page, defining the fields of a record. Details in TWikiForms.
  • Template page, used as a template for new data records. It is essentially a TWiki page with a form attached to it. Details in TWikiTemplates.
  • Header page: Optional page included in each record page to summarize the record.
  • Page with an HTML form to create new records.
  • Report page(s). Details in VarSEARCH and FormattedSearch.

TWiki.org has a blog post on How to Create a TWiki Application where you can learn the details.

  Back to: TWikiFAQ

Related Topics: UserDocumentationCategory

Changed:
<
<
-- Contributors: TWiki:Main.MiyokoTakushima - 2004-10-18
>
>
-- Contributors: TWiki:Main.MiyokoTakushima, TWiki:Main.PeterThoeny

Revision 62010-06-16 - TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="TWikiFAQ"

FAQ:

Deleted:
<
<
How can I create a simple TWiki Form based application?
 
Added:
>
>
How can I create a simple TWiki Form based application?
 

Answer:

  1. Create a TWiki Form and define fields (see TWikiForms for details)
Changed:
<
<
  1. Add the form in the list of Web Forms. Set the variable WEBFORMS in WebPreferences
>
>
  1. Add the form in the list of Web Forms. Set the WEBFORMS setting in WebPreferences
 
  1. Create a Template Topic
  2. In edit mode add the TWiki Form you defined to the Template Topic using the "Add Form" button
  3. Create a HTML Form with necessary fields
Changed:
<
<
  1. Define SEARCH function for listing items (see VarSEARCH for details)
>
>
  1. Define SEARCH function for listing items (see VarSEARCH and FormattedSearch for details)
  For more information follow the links...
Line: 19 to 19
 
<form action="%SCRIPTURLPATH{edit}%/%WEB%/">
Changed:
<
<
New FAQ topic:   (Use a name in WikiNotation)
>
>
New FAQ topic:   (Use a name in WikiNotation)
 

Revision 52010-03-04 - TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="TWikiFAQ"

FAQ:

How can I create a simple TWiki Form based application?
Line: 20 to 20
 
<form action="%SCRIPTURLPATH{edit}%/%WEB%/">
New FAQ topic: &nbsp; (Use a name in TWiki.WikiNotation) <br />
Changed:
<
<
 
>
>
 
Line: 41 to 40
  Related Topics: UserDocumentationCategory
Changed:
<
<
-- Contributors: TWiki:Main.MiyokoTakushima - 18 Oct 2004
>
>
-- Contributors: TWiki:Main.MiyokoTakushima - 2004-10-18

Revision 42006-11-15 - TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="TWikiFAQ"

FAQ:

How can I create a simple TWiki Form based application?
Line: 32 to 32
  And the SEARCH function:
Changed:
<
<

Results from TWiki web retrieved at 11:24 (GMT)

<--/twikiTopRow-->
FAQ: How can I create a simple TWiki Forms based application? Answer: TWiki applications help automate workflows you have at the workplace. TWiki has a built in database...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
FAQ: How do I delete or rename a topic? Answer: These two questions are answered together because often when you think you want to delete a page, more often it makes...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
FAQ: How do I delete or rename a file attachment? Answer: You can move and delete attachments directly from your browser. Moving lets you transfer an attachment from...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
FAQ: Why does the topic revision not increase when I edit a topic? Answer: The same topic revision will be used when you save a topic again within a certain time...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
FAQ: TWiki is distributed under the GPL (GNU General Public License). What is GPL? Answer: TWiki is distributed under the GNU General Public License, see TWikiDownload...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
FAQ: I`ve problems with the WebSearch. There is no Search Result on any inquiry. By clicking the Index topic it`s the same problem. Answer: That is an indication...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
FAQ: What happens if two of us try to edit the same topic simultaneously? Answer: TWiki allows multiple simultaneous edits of the same topic, and then merges the...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
FAQ: I would like to install TWiki on my server. Can I get the source? Answer: TWiki is distributed under the GnuGeneralPublicLicense. You can get the source from...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
FAQ: What does the `T` in TWiki stand for? Answer: TWiki is short for TakeFive Wiki, the name of the company where its founder Peter Thoeny worked. Peter first...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
FAQ: So what is this WikiWiki thing exactly? Answer: A set of pages of information that are open and free for anyone to edit as they wish. They are stored in...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
FAQ: Everybody can edit any page, this is scary. Doesn`t that lead to chaos? Answer: TWiki is one of many engines, the first one was built by Ward Cunningham. Collaborating...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
>
>

Results from TWiki web retrieved at 11:24 (GMT)

<--/twikiTopRow-->
FAQ: How can I create a simple TWiki Forms based application? Answer: TWiki applications help automate workflows you have at the workplace. TWiki has a built in database...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
FAQ: How do I delete or rename a topic? Answer: These two questions are answered together because often when you think you want to delete a page, more often it makes...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
FAQ: How do I delete or rename a file attachment? Answer: You can move and delete attachments directly from your browser. Moving lets you transfer an attachment from...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
FAQ: Why does the topic revision not increase when I edit a topic? Answer: The same topic revision will be used when you save a topic again within a certain time...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
FAQ: TWiki is distributed under the GPL (GNU General Public License). What is GPL? Answer: TWiki is distributed under the GNU General Public License, see TWikiDownload...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
FAQ: I`ve problems with the WebSearch. There is no Search Result on any inquiry. By clicking the Index topic it`s the same problem. Answer: That is an indication...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
FAQ: What happens if two of us try to edit the same topic simultaneously? Answer: TWiki allows multiple simultaneous edits of the same topic, and then merges the...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
FAQ: I would like to install TWiki on my server. Can I get the source? Answer: TWiki is distributed under the GnuGeneralPublicLicense. You can get the source from...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
FAQ: What does the `T` in TWiki stand for? Answer: TWiki is short for TakeFive Wiki, the name of the company where its founder Peter Thoeny worked. Peter first...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
FAQ: So what is this WikiWiki thing exactly? Answer: A set of pages of information that are open and free for anyone to edit as they wish. They are stored in...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
<--/twikiTopRow-->
FAQ: Everybody can edit any page, this is scary. Doesn`t that lead to chaos? Answer: TWiki is one of many engines, the first one was built by Ward Cunningham. Collaborating...
<--/twikiSummary-->
<--/twikiBottomRow-->
<--/patternSearchResult-->
 
Line: 41 to 41
  Related Topics: UserDocumentationCategory
Changed:
<
<
-- TWiki:Main.MiyokoTakushima - 18 Oct 2004
>
>
-- Contributors: TWiki:Main.MiyokoTakushima - 18 Oct 2004

Revision 32004-10-18 - TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="TWikiFAQ"

FAQ:

How can I create a simple TWiki Form based application?
Line: 6 to 6
 

Answer:

Changed:
<
<
  1. Create a TWiki Form and define fields (TWikiForms)
>
>
  1. Create a TWiki Form and define fields (see TWikiForms for details)
 
  1. Add the form in the list of Web Forms. Set the variable WEBFORMS in WebPreferences
Changed:
<
<
  1. Create a Template Topic and in Edit mode
  2. In edit mode add the TWiki Form you defined to the Template Topic
>
>
  1. Create a Template Topic
  2. In edit mode add the TWiki Form you defined to the Template Topic using the "Add Form" button
 
  1. Create a HTML Form with necessary fields
Changed:
<
<
  1. Define SEARCH function for listing items. See VarSEARCH
>
>
  1. Define SEARCH function for listing items (see VarSEARCH for details)
  For more information follow the links...

Revision 22004-10-18 - TWikiContributor

Line: 1 to 1
 
META TOPICPARENT name="TWikiFAQ"

FAQ:

How can I create a simple TWiki Form based application?
Line: 11 to 11
 
  1. Create a Template Topic and in Edit mode
  2. In edit mode add the TWiki Form you defined to the Template Topic
  3. Create a HTML Form with necessary fields
Changed:
<
<
  1. Define SEARCH function for listing items. See TWikiVariables#VarSEARCH
>
>
  1. Define SEARCH function for listing items. See VarSEARCH
  For more information follow the links...

Revision 12004-10-18 - TWikiContributor

Line: 1 to 1
Added:
>
>
META TOPICPARENT name="TWikiFAQ"

FAQ:

How can I create a simple TWiki Form based application?

Answer:

  1. Create a TWiki Form and define fields (TWikiForms)
  2. Add the form in the list of Web Forms. Set the variable WEBFORMS in WebPreferences
  3. Create a Template Topic and in Edit mode
  4. In edit mode add the TWiki Form you defined to the Template Topic
  5. Create a HTML Form with necessary fields
  6. Define SEARCH function for listing items. See TWikiVariables#VarSEARCH

For more information follow the links...

The following is the code source of TWikiFAQ:

<form action="%SCRIPTURLPATH{edit}%/%WEB%/">
New FAQ topic: &nbsp; (Use a name in TWiki.WikiNotation) <br />
<input type="text" name="topic" size="32" />&nbsp;<input type="submit" class="twikiSubmit" value="Create Topic" />
<input type="hidden" name="onlywikiname" value="on" />
<input type="hidden" name="templatetopic" value="TWikiFaqTemplate" />
<input type="hidden" name="topicparent" value="%TOPIC%" />
<br />
</form>


And the SEARCH function:

%SEARCH{ "Back to\:__ TWikiFAQ" casesensitive="on" regex="on" nosearch="on" nototal="on"}%

Back to: TWikiFAQ

Related Topics: UserDocumentationCategory

-- TWiki:Main.MiyokoTakushima - 18 Oct 2004

 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2019 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback
Note: Please contribute updates to this topic on TWiki.org at TWiki:TWiki.AnApplicationWithWikiForm.