Documentation Center

Forms

The forms and interfaces used by Tridion Docs to collect user-generated content, such as comments, are XForms. By customizing or adding new forms to your skin, your can change the information that is gathered, or add new types of information that a user can enter into the system.

Developers build forms by creating a form definition in the Developer's Workbench. Sometimes the form will be built based on a base XForm template, such as xform.comment.html. Other times the developer will want to create a new XForm HTML template and create the new form using it. The template defines the XForm data model and user interface. As an end user completes and saves a form, an instance is stored in the Tridion Docs database, conforming to the XForm data model.

The following topics describe the process by which XForms are rendered and presented to the user to collect input, and provide an example of customizing the comment XForm to collect additional information.