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
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
File details
Details for the file FormBuild-2.2.0.tar.gz
.
File metadata
- Download URL: FormBuild-2.2.0.tar.gz
- Upload date:
- Size: 16.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 7d9cd685e19f1bb6d3517914b881894aa00dd188b8638172d1fafe98c47afefc |
|
MD5 | 17408ce0f020dccdbacb4606417bfe64 |
|
BLAKE2b-256 | 63b883c4b8e62eb71e8257323bd3ad8f3df7507a58d4f9876e9d097a1f2a4d0e |
File details
Details for the file FormBuild-2.2.0-py2.5.egg
.
File metadata
- Download URL: FormBuild-2.2.0-py2.5.egg
- Upload date:
- Size: 21.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | 11d2e3b1690d47c6aa708ff5359f0fb1ab53f775d6eee7fbec2b3c0717cca59f |
|
MD5 | 11b1c143a910c17a40339d555f2592e2 |
|
BLAKE2b-256 | e8061cabbd6758046f4b35bbfebcdc84a87a94a84cca6228fbf8af3e0267d37e |