Forms

Version 4.1 by Vincent Massol on 2007/12/06

Document Templates & Forms

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 let users be presented with fields they have to fill when editing a page.

For example, 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:

editfaqentry.png

Another good example of form utilization on XWiki.org is the References page. 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 and. He is then presented with a form he can fill in easily. Check it out and add your own project here!

Questionnaire

Thanks to this mode, you can create advanced forms such as this questionnaire:

To learn more about this feature check the Developer's Guide.

Get Connected