Skip to main content

Form Designer - a simple form designer for FeinCMS

https://travis-ci.org/feincms/form_designer.png?branch=master

This form designer does not try to offer every last configuration possibility of Django’s forms, just through the administration interface instead of directly in Python code. Instead, it strives to be a tool which everyone can use right away, without the need for long explanations.

It offers a small set of predefined input fields such as:

  • Text fields (One line and multi line widgets possible)

  • E-mail address fields

  • Checkboxes

  • Dropdowns

  • Radio Buttons

  • Multiple selection checkboxes

  • Hidden input fields

Every field can optionally be declared mandatory, default values and help texts are available too. That’s it.

By default, form data is sent by e-mail to a freely definable e-mail address and stored in the database (a CSV export of saved submissions is provided too). It is possible to add your own actions, but that’s not documented yet. These actions aren’t hardcoded – they can be freely defined for every form defined through this form designer.

Configuring the export

The CSV export of form submissions uses the Python’s CSV module, the Excel dialect and UTF-8 encoding by default. If your main target is Excel, you should probably add the following setting to work around Excel’s abysmal handling of CSV files encoded in anything but latin-1:

FORM_DESIGNER_EXPORT = {
    'encoding': 'latin-1',
}

You may add additional keyword arguments here which will be used during the instantiation of csv.writer.

ReCaptcha

To enable [ReCaptcha](http://www.google.com/recaptcha) install [django-recaptcha](https://github.com/praekelt/django-recaptcha) and add captcha to your INSTALLED_APPS. This will automatically add a ReCaptcha field to the form designer. For everything else read through the django-recaptcha readme.

Override field types

Define FORM_DESIGNER_FIELD_TYPES in your settings file like:

FORM_DESIGNER_FIELD_TYPES = 'your_project.form_designer_config.FIELD_TYPES'

In your_project.form_designer_config.py something like:

from django import forms
from django.utils.translation import ugettext_lazy as _

FIELD_TYPES = [
    ('text', _('text'), forms.CharField),
    ('email', _('e-mail address'), forms.EmailField),
]

Version history

0.4

  • Built-in support for Django 1.7-style migrations. If you’re using South, update to South 1.0 or better.

0.3

  • Support for Python 3.3, 2.7 and 2.6.

  • Support for overridding field types with FORM_DESIGNER_FIELD_TYPES.

Visit these sites for more information

Metadata

Release files for form-designer 0.4.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 form-designer 0.4.0
File Size Uploaded Provenance Actions
form_designer-0.4.0.tar.gz 14.4 kB Without provenance Details for form_designer-0.4.0.tar.gz

Built distribution (wheel)

Table of built distributions (wheels) for form-designer 0.4.0
File Interpreter ABI Platform Actions
form_designer-0.4.0-py2.py3-none-any.whl Python 2, Python 3 none any Details for form_designer-0.4.0-py2.py3-none-any.whl

Total release size: 34.5 kB

Release files / form_designer-0.4.0.tar.gz

Download URL form_designer-0.4.0.tar.gz
Size 14.4 kB
Tags Source
SHA-256 checksum
How to use checksums
f537168e05f74f97431839737c357984186f84f109c0d1871ee7da1db8bd99f8
BLAKE2b-256 checksum
How to use checksums
a8826ece63de9cbfa686133a9bf1dfa1e5fa9d60370ad8d3ead60f48136eb866
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Release files / form_designer-0.4.0-py2.py3-none-any.whl

Download URL form_designer-0.4.0-py2.py3-none-any.whl
Size 20.1 kB
Tags Python 2 Python 3
SHA-256 checksum
How to use checksums
add7a344281df75d865dbd77d10d1f790de69f3a49399263adfb6155302dfa1a
BLAKE2b-256 checksum
How to use checksums
9c975392c91f5b71944d68f2adc266e5f931334f8cb85e8b5b469d3853905df8
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for form-designer 0.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

0.4.0 This release

2 release files No provenance

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