Create forms and embed them on CMS pages
Project description
Features
Create a cms page where you can setup form fields, a captcha and submit button.
Works in python3.
Set the apphook to ‘Forms’ and then the redirect works.
Create a ‘thank you’ page where you can redirect to.
Forms and all fields are saved in the database.
When set the send mail option it sends a mail with all the fields to the specified receivers.
In the admin, can view every form submission with the fields.
In the admin, export is possible to .csv.
Installation
Run pip install git+https://github.com/svandeneertwegh/corebytecms-forms.
Update INSTALLED_APPS with
INSTALLED_APPS = [ ... 'cms_forms', 'cms_forms.contrib.email_notifications', 'captcha', ]
Creating a Form
You can create forms in the admin interface now. Search for the label Forms.
Create a CMS page and install the Forms app there (choose Forms from the Advanced Settings -> Application dropdown).
Now redeploy/restart the site again.
The above CMS site has become a forms POST landing page - a place where submission errors get displayed if there are any.
Available Plug-ins
Form plugin lets you embed certain forms on a CMS page.
Fieldset groups fields.
Text Field renders text input.
Text Area Field renders text input.
Yes/No Field renders checkbox.
Select Field renders single select input.
Date Field renders date input.
Multiple Select Field renders multiple checkboxes.
File field renders a file upload input.
Image field same as file field but validates that the uploaded file is an image.
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 corebytecms-forms-1.0.1.tar.gz
.
File metadata
- Download URL: corebytecms-forms-1.0.1.tar.gz
- Upload date:
- Size: 57.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | ffeabd6ad7302cc127a60c4e1568a884c1a979c1a8280fa95f82063e8ad12d7b |
|
MD5 | 37d7f450967b9e91ea7f36367be3d852 |
|
BLAKE2b-256 | f4ebc1748784b9ec0c9a73edb5c899c2391c17e4d411d8a1866fd2a4ee96bcbf |
File details
Details for the file corebytecms_forms-1.0.1-py3-none-any.whl
.
File metadata
- Download URL: corebytecms_forms-1.0.1-py3-none-any.whl
- Upload date:
- Size: 95.7 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/4.0.1 CPython/3.9.15
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | d2c92ff34b90c9886e47489b9d3738a0493ea97e6fe7ac9a673b90e0a1a7567f |
|
MD5 | c4ead4b97503b38667c426e9f3ed3027 |
|
BLAKE2b-256 | 4e66be5788dbb8d7761db447569bd2f60f147b5720ad17d988b24cf46222092a |