Skip to main content

gocept.form provides some extended functionality for zope.formlib and z3c.form. To use the package with formlib support, require it using gocept.form[formlib]. To use the package with z3c.form support, require it using gocept.form[z3cform].

Destructive Actions

Destructive actions allow marking actions that can potentially cause harm. Those actions will be rendered as buttons and - on JavaScript-capable platforms - be disabled by default. Additionally a checkbox is rendered that allows enabling the corresponding button.

Grouped Fields

gocept.form.grouped provides a very low-tech way of grouping schema fields into field sets. The styling is applied only via CSS.

Base Add and Edit forms

gocept.form.base.Add and gocept.form.base.Edit providing some common code to make implementing basic forms more convenient.

Changes

0.9.0 (2025-10-24)

  • Make Python-3 compatible.

  • Replace pkg_resources with pep420 namespace package.

0.8.0 (2016-01-12)

  • Got rid of dependencies on zope.app.pagetemplate (in favour of zope.browserpage) and zope.testing (in favour of the standard lib).

0.7.6 (2008-07-17)

  • Fixed a bug in sorting of grouped widgets when a remainder group was explicitly specified.

0.7.5 (2008-07-17)

  • Fixed a bug the grouped forms: The widgets were stored on a class variable and thus shared in different threads.

0.7.4 (2008-05-23)

  • Added a javascript confirm action.

0.7.3 (2008-03-27)

  • Added Base Add and Edit forms

0.7.2 (2008-01-24)

  • Fixed a bug which prevented the automatic gerneration of remaining fields if field_groups was a tuple.

0.7.1 (2007-12-19)

  • Added a css class for the field groups (field-group).

0.7 (2007-12-07)

  • Added a very simple way of client side javascript validation.

0.6

  • Added locales for gocept.form (i18n for string in gocept_form_macros)

  • IMPORTANT: Usage changed. Please look at the first paragraph of this README.

  • Added pagelet support for z3c.form forms (see pagelet.py)

0.5

  • Added small function applySchemaData to apply data to an object according to a schema. This is useful in constructors or in add forms.

0.4

  • Made grouped forms ignore missing fields.

0.3

  • Added destructive action feature.

0.2

  • Added support for grouping generic forms (subclass of zope.formlib.form.Form).

0.1

Initial release.

Metadata

Release files for gocept.form 0.9.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for gocept.form 0.9.0
File Size Uploaded
gocept_form-0.9.0.tar.gz 15.2 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for gocept.form 0.9.0
File Interpreter ABI Platform
gocept_form-0.9.0-py3-none-any.whl Python 3 none any Details

Total release size: 33.8 kB

Release files / gocept_form-0.9.0.tar.gz

Download URL gocept_form-0.9.0.tar.gz
Size 15.2 kB
Tags Source
SHA-256 checksum
How to use checksums
49ace0562d575ce1dba5882564c9a1dd2f8ed01b07f084787a7f0c2f19a061eb
BLAKE2b-256 checksum
How to use checksums
7ef6247652283b07bea2c15e88ef781731f5107c44a16fa198c9a1023156317f
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release files / gocept_form-0.9.0-py3-none-any.whl

Download URL gocept_form-0.9.0-py3-none-any.whl
Size 18.6 kB
Tags Python 3
SHA-256 checksum
How to use checksums
8f81d58f257d5a5d40734740cfefccb0e42d6ed10aa99ecfa2117beea577cd42
BLAKE2b-256 checksum
How to use checksums
b4f035b806a45df044ebeb275c0210b81e2065624cd79a02cd69ae808367c004
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/6.2.0 CPython/3.13.9

Release history Release notifications | RSS feed

This release

0.9.0 This release

2 release files

0.8.0

1 release file

0.7.6

1 release file

0.7.5

1 release file

0.7.4

1 release file

0.7.3

1 release file

0.7.2

1 release file

0.7.1

1 release file

0.7

1 release file

0.6

1 release file

0.5

1 release file

0.4

1 release file

0.3

1 release file

0.2

1 release file

0.1

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page