You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: docs/classic-ui/forms.md
+2-17Lines changed: 2 additions & 17 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,28 +11,15 @@ myst:
11
11
12
12
# Forms
13
13
14
-
15
-
16
-
17
-
18
-
19
-
20
-
21
-
22
14
```{todo}
23
15
Describe how create forms with Plone's default form framework z3c.form.
24
16
Fields, Widgets, Vocabularies aso are descripted in detail in there own chapter and will be referenced from examples here.
25
17
```
26
18
27
-
28
19
Plone uses the [z3c.form](http://pythonhosted.org/z3c.form) library to build its web-forms.
29
-
The package responsible for integrating with Plone is [plone.z3cform](https://github.com/plone//plone.z3cform).
30
-
31
-
To simplify the process of organizing a form and specifying its widgets and fields, Plone utilizes [plone.autoform](https://github.com/plone/plone.autoform), in particular its `AutoExtensibleForm` base class.
32
-
It is responsible for handling form hints and configuring z3c.form widgets and groups (fieldsets).
20
+
The packages responsible for integrating with Plone are [plone.z3cform](https://github.com/plone//plone.z3cform) and [plone.app.z3cform](https://github.com/plone/plone.app.z3cform) which contains most of the widgets and default templates. To simplify the process of organizing a form and specifying its widgets and fields, Plone utilizes [plone.autoform](https://github.com/plone/plone.autoform), in particular its `AutoExtensibleForm` base class. It is responsible for handling form hints and configuring z3c.form widgets and groups (fieldsets).
33
21
34
22
A form is a view that utilizes these libraries.
35
-
plone.autoform offers useful base classes for views that simplify the process of creating forms based on either the form schema or {ref}`Dexterity behaviors <backend-behaviors-label>`.
36
23
37
24
38
25
(classic-ui-forms-general-forms-label)=
@@ -46,7 +33,7 @@ cd collective.awesomeaddon
46
33
plonecli add form
47
34
```
48
35
49
-
After using the {term}`plonecli` to add a form, there is a new sub folder `forms` in your package.
36
+
After using the {term}`plonecli` to add a form, you'll have a new sub folder `forms` in your package.
50
37
Here you will find a `configure.zcml` containing the registration of the form,
51
38
52
39
```xml
@@ -118,8 +105,6 @@ You can build custom add and edit forms to adjust there behavior.
118
105
The implementation of the default edit and add forms is in [plone.dexterity.browser.edit.py](https://github.com/plone/plone.dexterity/blob/master/plone/dexterity/browser/edit.py) and [plone.dexterity.browser.add.py](https://github.com/plone/plone.dexterity/blob/master/plone/dexterity/browser/add.py).
119
106
120
107
121
-
122
-
123
108
```{todo}
124
109
Describe Add/Edit forms here and how to customize them.
0 commit comments