Skip to content

tangentlabs/form_designer

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Form Designer - a simple form designer for FeinCMS

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.

Visit these sites for more information

Packages

No packages published

Languages

  • Python 100.0%