Wiki source code of Document Templates & Forms

Version 9.2 by Silvia Macovei on 2010/03/05

Hide last authors
Silvia Macovei 9.2 1 {{box cssClass="floatinginfobox" title="**Contents**"}}{{toc/}}{{/box}}
2
Silvia Macovei 8.2 3 There's often a need to have structured information. For example you might want to use a wiki to collaboratively enter data, but you'd still like that data to be organized so that it can be searched and manipulated programmatically. In XWiki it's possible to present users with fields they have to fill in when editing a page.
vmassol 1.1 4
Vincent Massol 9.1 5 To learn more about this feature check the [[Developer's Guide>>DevGuide.WebHome]]. More specifically you could start by trying to write a FAQ application as described in the [[FAQ Tutorial>>DevGuide.FAQTutorial]].
vmassol 1.1 6
Vincent Massol 9.1 7 = Examples =
8
9 == FAQ Form ==
10
11 In this wiki we're using this feature to create FAQ entries. When the edit button on a FAQ page is clicked, the following type of screen is shown instead of the standard free form text:
12
Silvia Macovei 8.3 13 [[[[image:editfaqentry.png||style="border:1px solid black; padding:1px; display:block"]]>>attach:editfaqentry.png]]
vmassol 1.1 14
Vincent Massol 9.1 15 == Reference Form ==
16
Silvia Macovei 8.1 17 Another good example of form utilization on XWiki.org is the [[References page>>xwiki:References.WebHome]]. When an user wants to add a new reference, the only thing he has to do is to type in the name of the reference he wants to add. He is then presented with a form he can fill in easily. Check it out and add your own project **[[here>>xwiki:References.WebHome]]**!
Vincent Massol 5.1 18
Vincent Massol 9.1 19 == Questionnaire Form ==
Guillaume Lerouge 1.7 20
Silvia Macovei 8.1 21 Thanks to this mode, you can create advanced forms such as this [[questionnaire>>http://www.uaic.ro/uaic/bin/view/Main/Chestionar]]:
Guillaume Lerouge 1.6 22
Silvia Macovei 8.3 23 [[[[image:Chestionar.png||style="border:1px solid black; padding:1px; display:block"]]>>attach:Chestionar.png]]

Get Connected