• This web contains the official documentation of the TWiki Release 4.2, code named FreetownRelease. It is a read-only web for reference.
• This is an older release, see TWiki-6.1 for the latest release documentation.
Tags:
create new tag
view all tags

FAQ:

How can I create a simple TWiki Form based application?

Answer:

  1. Create a TWiki Form and define fields (see TWikiForms for details)
  2. Add the form in the list of Web Forms. Set the variable WEBFORMS 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 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 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" type="regex" nosearch="on" nototal="on"}%

Back to: TWikiFAQ

Related Topics: UserDocumentationCategory

-- Contributors: TWiki:Main.MiyokoTakushima - 18 Oct 2004

Edit | Attach | Watch | Print version | History: r4 < r3 < r2 < r1 | Backlinks | Raw View | Raw edit | More topic actions
Topic revision: r4 - 2006-11-15 - TWikiContributor
 
  • Learn about TWiki  
  • Download TWiki
This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright © by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Send feedback