Forms
From Textbook
Presentation > Forms is once again, an editor. Like Presentation > Pages, we are editing templates that will control the formatting of the content. However, this time we are not creating the entire page, but rather editing how smaller portions of content are formatted.
When creating a Form, you need to give it a unique name, and should classify it according to the kind of Form it will be. There are five classification options: article, comment, link, file and misc. The form type you use is not vitally important, the purpose of assigning forms a type is to allow Textpattern's tag builder to help you easily find the form you want to use. Once you've named and classified your form, you can begin building it.
Type
When creating a form, it must be assigned to a "Type," which is available via a dropdown selection box under the Name field. There are currently seven form types: article, category, comment, file, link, misc (miscellaneous), and section.
Form types have almost no inherent semantic but aid solely as a means of organization for the designer/user. One notable exception: article type forms are the only ones listed in the override form dropdown on the write screen.
The category and section types are new in 4.0.7. These are intended to be used in conjunction with category_list and section_list, respectively, as a value to the form attribute, along the lines of <txp:section_list form="foo" />. They serve the same use case as the form attributes for articles do.
See also:




