Skip to main content

Build forms quickly and easily using groups of simple helper functions.

Project description

Summary

Build forms quickly and easily using groups of simple helper functions.

Get Started

  • Download and install from source

Author

James Gardner

Changes

2.2.0

2009-10-04

  • Added the ability of select() to use the new options infrastructure.

  • Updated the MANIFEST.in file to include tests and docs in the source distribution.

  • Moved the formbuild.helpers doctest code into the main doc.py test.

2009-08-20

  • Made the use of the default argument raise an Exception instead of logging an error

2009-08-08

  • Added some documentation tests

  • Changed checkbox_group() and radio_group() to take a sub_name argument for formatting fields according to a NestedRecord structure.

  • The combo() and checkbox_group() fields can now take options from those passed to the Form object constructor.

  • Added Sphinx code

  • Made checkbox_group() and radio_group() XHTML compatible by using the attribute checked="checked".

  • Allowed the checkbox() to also be able to get its value from the options argument passed to the Form constructor and determine whether not it is ticked from a True or False value in the values argument passed to the Form constructor.

2.1.3

2009-07-13

  • Used CSS for spacing of required asterix

  • Added an options argument to Form instead of individual fields having options

2.1.2

  • Added a stricter errors_to_dict() function that catches errors such as forgetting allow_extra_fields, filter_extra_fields.

  • Added a values_to_dict() function for encoding values

  • Added a .validation_state attribute and ValidationState class.

  • The title() field and action bar now have a colspan of 3

2.1.1

  • Added a title() field to the Form

  • Added an imagebutton field

  • Added field_pre and field_extra options to the field() method

2.0.1

  • Updated the tests

  • Added a style used for padding to the labels in checkbox groups.

  • Changed _group() helper to automatically convert arguments to unicode.

2.0.0

  • First pre-alpha version of the refactored FormBuild.

License

FormBuild - Build forms quickly and easily using groups of simple helper functions. Copyright (C) 2008 <James Gardner>

This program is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with this program. If not, see <http://www.gnu.org/licenses/>.

The formbuild.helpers module is released under the GPL3 above or the same license as the WebHelpers package. You may choose either.

Download

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

FormBuild-2.2.0.tar.gz (16.5 kB view hashes)

Uploaded Source

Built Distribution

FormBuild-2.2.0-py2.5.egg (21.4 kB view hashes)

Uploaded Source

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