Difference: AnApplicationWithWikiForm (6 vs. 7)

Revision 705 May 2011 - 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)
>
>
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.
 
Changed:
<
<
For more information follow the links...
>
>
A typical TWiki forms based application consists of the following pages:
 
Changed:
<
<
The following is the code source of TWikiFAQ:
>
>
  • 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.
 
Changed:
<
<
<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>
>
>
TWiki.org has a blog post on How to Create a TWiki Application where you can learn the details.
 
Deleted:
<
<

And the SEARCH function:

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

Related Topics: UserDocumentationCategory

Changed:
<
<
-- Contributors: TWiki:Main.MiyokoTakushima - 2004-10-18
>
>
-- Contributors: TWiki:Main.MiyokoTakushima, TWiki:Main.PeterThoeny
 
This site is powered by the TWiki collaboration platform Powered by PerlCopyright © 1999-2024 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.