Wagtail Jotform
Embedable Jotform forms for wagtail pages.
Installation
Install from pypi:
pip install wagtail-jotform
Configuration
You will need an API key from jotform. Add the following variables to your settings.
JOTFORM_API_KEY = 'somekey'
JOTFORM_API_URL = 'https://api.jotform.com'
If your Jotform account is in EU safe mode, your JOTFORM_API_URL should be https://eu-api.jotform.com
Add the following to you INSTALLED_APPS in settings, note that wagtail_jotform depends on routable_page:
INSTALLED_APPS = [
...
'wagtail_jotform',
"wagtail.contrib.routable_page",
]
Thank you page
Thank you pages work via RoutablePageMixin.
When a form is created, the Jotform thankurl is set with your created forms thankyou page url. E.G https://mysite.com/formpage/thank-you. So when the form is submitted, the user will be redirected accordingly and be show the 'thank you' data specified on on the form page added.
Overriding tempaltes
Wagtail Jotform has 2 templates:
embeded_form_page.html
thank_you.html
You can override these templates in your project by adding them in the following location:
your_project_root/
templates/
wagtial_jotform/
embed_form_page.html
thank_you.html
Metadata
Release files for wagtail-jotform 0.0.8
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | |
|---|---|---|---|
| wagtail-jotform-0.0.8.tar.gz | 5.8 kB | Details |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Reset |
|---|---|---|---|---|
| wagtail_jotform-0.0.8-py3-none-any.whl | Python 3 | none | any | Details |
Total release size: 11.9 kB
Release files / wagtail-jotform-0.0.8.tar.gz
| Download URL | wagtail-jotform-0.0.8.tar.gz |
|---|---|
| Size | 5.8 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
3394f51fd6cee7e45574a5a522b9ff4811602a4f71609ca11864c24c7c92511e
|
|
BLAKE2b-256 checksum How to use checksums |
cec035b1217334c4ac8b3cdbd98f5e6caf90603a02b41f03a1285da6c573fd7c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.2
|
Release files / wagtail_jotform-0.0.8-py3-none-any.whl
| Download URL | wagtail_jotform-0.0.8-py3-none-any.whl |
|---|---|
| Size | 6.1 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
d36db44c07d8cf03021d150f24db8c8c5a5aa581b4fc948e00b85eb843cbaaae
|
|
BLAKE2b-256 checksum How to use checksums |
5ba876cdc48793aa40e910a1058e9c716cb87459ffa101ae031332c21ddff8cd
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/3.0.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/41.2.0 requests-toolbelt/0.9.1 tqdm/4.50.0 CPython/3.8.2
|