Django Form builder
Project description
Django Form Builder
A Django Framework application to build dynamic forms, with widgets and Django's standards, using a JSON objects.
Every form can be saved in a configurable storage, in JSON format. Users that requires a high level of customization will found in it what they look for.
Consult the Official Documentation at readthedocs for usage specifications and advanced topics.
Image 1: Example of Dynamic Form built via frontend
Image 2: Preview of the builded form
Features
- Forms definitions via JSON object;
- Save compiled form as JSON objects in model db and get its structure and contents with a simple model method call;
- Override form constructor in order to add static common fields;
- Create input fields using heritable classes, with customizable validation methods;
- Manage Django Formset fields, with form insertion and removal via javascript;
- Manage and verify digitally signed file fields (PDF and P7M) without a certification authority validation (TODO via third-party API).
- Audio and Image Captcha
Examples
Example of a dynamic form JSON in database
{
"field_1": "value_field_1",
"field_2": "value_field_2",
"field_3": "value_field_3",
"attachments": {
"p7m": "file_1.pdf.p7m",
"pdf": "file_2.pdf"
}
}
Tests
# build a virtualend where to install all the requirements and requirements-dev ...
cd example
./manage.py test
# coverage
coverage erase
coverage run ./manage.py test
coverage report -m
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
django-form-builder-0.9.16.tar.gz
(34.3 kB
view hashes)
Close
Hashes for django-form-builder-0.9.16.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3d50815f0cc4ecd48378ddc0a9c9e6f4a181b23a271992fb37cd16ee34d56641 |
|
MD5 | c942cd5aa761572373150d6e3ec561b5 |
|
BLAKE2b-256 | cef7723ae5129d390099d1edbf983b5afd1536f8f99f0ad0b373af6d75c84cef |