Skip to main content

Extensions for zope.formlib

Project description

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.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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gocept.form-0.8.0.tar.gz (18.4 kB view details)

Uploaded Source

File details

Details for the file gocept.form-0.8.0.tar.gz.

File metadata

  • Download URL: gocept.form-0.8.0.tar.gz
  • Upload date:
  • Size: 18.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for gocept.form-0.8.0.tar.gz
Algorithm Hash digest
SHA256 d243aca040cef939f807b257cf1ec2b2f0957274d8d64835cd932d742436f004
MD5 b3477d80d70114fb31d5cd22ddfb4792
BLAKE2b-256 b55a6ccb78e1eb2fc654cd4feb2ad51f632ae0e8d4c33d2c355014ec47ecd12a

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page