z3c.form¶
z3c.form
provides an implementation for both HTML and JSON forms and
according widgets. Its goal
is to provide a simple API but with the ability to easily customize any data or
steps.
There are currently two maintained branches:
master with the latest changes
3.x without the object widget overhaul and still including the
ObjectSubForm
and theSubformAdapter
.
Documentation on this implementation and its API can be found at https://z3cform.readthedocs.io/
The documents are ordered in the way they should be read:
- Must read
- 1. Forms - Setup and usage of forms including structure of form components
- 2. Group Forms - Implementation and usage of widget groups
- 3. Sub-Forms - Introduction into sub-forms and the implemented two classes of thereof
- 4. Field Managers
- 5. Buttons - Button manager API, creation of buttons within schemas and conversion to actions
- 6. ZCML Directives - Register new templates without writing Python code
- Advanced users
- Informative
- 1. Attribute Value Adapters
- 2. Data Managers - Accessing and writing the data on attributes and in dictionaries
- 3. Data Converter
- 4. Terms - Wrappers around sources and vocabularies providing a common interface for choices
- 5. Utility Functions and Classes
- 6. Add Forms for
IAdding
- 7. Testing support
- 8. Current problems of ObjectWidget
- Widgets