Forms

Version 7.3 by Silvia Macovei on 2009/09/25
Warning: For security reasons, the document is displayed in restricted mode as it is not the current version. There may be differences and errors due to this.

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 present users 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. 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:

Failed to execute the [velocity] macro. Cause: [The execution of the [velocity] script macro is not allowed in [xwiki:Documentation.UserGuide.Features.Forms]. Check the rights of its last author or the parameters if it's rendered from another script.]. Click on this message for details.

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

Get Connected