Tags:
view all tags
---++ FAQ: How can I create a simple [[TWikiForms][TWiki Form]] based application? ---++ Answer: 1 Create a [[TWikiForms][TWiki Form]] and define fields (TWikiForms) 1 Add the form in the list of Web Forms. Set the variable WEBFORMS in WebPreferences 1 Create a Template Topic and in Edit mode 1 In edit mode add the [[TWikiForms][TWiki Form]] you defined to the Template Topic 1 Create a HTML Form with necessary fields 1 Define =SEARCH= function for listing items. See VarSEARCH For more information follow the links... The following is the code source of TWikiFAQ: <verbatim> <form action="%SCRIPTURLPATH{edit}%/%WEB%/"> New FAQ topic: (Use a name in TWiki.WikiNotation) <br /> <input type="text" name="topic" size="32" /> <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> </verbatim> ---- And the =SEARCH= function: <verbatim> %SEARCH{ "Back to\:__ TWikiFAQ" casesensitive="on" regex="on" nosearch="on" nototal="on"}% </verbatim> __Back to:__ TWikiFAQ __Related Topics:__ UserDocumentationCategory -- TWiki:Main.MiyokoTakushima - 18 Oct 2004 <br />
Edit
|
Attach
|
Watch
|
P
rint version
|
H
istory
:
r7
|
r4
<
r3
<
r2
<
r1
|
B
acklinks
|
V
iew topic
|
Raw edit
|
More topic actions...
Topic revision: r2 - 2004-10-18
-
TWikiContributor
Home
Site map
Main web
Sandbox web
TWiki web
TWiki Web
User registration
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
User Reference
ATasteOfTWiki
TextFormattingRules
TWikiVariables
FormattedSearch
QuerySearch
TWikiDocGraphics
TWikiSkinBrowser
InstalledPlugins
Admin Maintenance
Reference Manual
InterWikis
ManagingUsers
ManagingWebs
TWikiSiteTools
TWikiPreferences
WebPreferences
Categories
Admin Documentation
Admin Tools
Developer Doc
User Documentation
User Tools
Account
Log In
Edit
Attach
Copyright © 1999-2025 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
.