Skip to main content

CircleCI Maintainability Test Coverage

Wagtail Jotform

Embedable Jotform forms for Wagtail pages.

Wagtail Jotform works by providing a new page type, EmbeddedFormPage with a form choice field. Values for this form field are populated from the Jotform API.

Installation

Install from pypi:

pip install wagtail-jotform

Configuration

You will need an API key from jotform. Add the following variables to your settings.

WAGTAIL_JOTFORM = {
    "API_KEY": "somekey",
    "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:

embedded_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

Tests

coverage run ./runtest.py
coverage report

Metadata

Release files for wagtail-jotform 1.0.2

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for wagtail-jotform 1.0.2
File Size Uploaded
wagtail-jotform-1.0.2.tar.gz 6.8 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for wagtail-jotform 1.0.2
File Interpreter ABI Platform
wagtail_jotform-1.0.2-py3-none-any.whl Python 3 none any Details

Total release size: 14.1 kB

Release files / wagtail-jotform-1.0.2.tar.gz

Download URL wagtail-jotform-1.0.2.tar.gz
Size 6.8 kB
Tags Source
SHA-256 checksum
How to use checksums
e87d3ecf6d99f600b964e2a50662115dd66e7b681995d87c4f2f428b54917942
BLAKE2b-256 checksum
How to use checksums
59a41165237c2cd47b599d294a5998a848ae70c05ca1289d88c4d97507350712
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-1.0.2-py3-none-any.whl

Download URL wagtail_jotform-1.0.2-py3-none-any.whl
Size 7.3 kB
Tags Python 3
SHA-256 checksum
How to use checksums
e8d63518ec9c419980c55f2312260efbadb1a38281b0dc4859177ab54ab8aed4
BLAKE2b-256 checksum
How to use checksums
4cd3e5ff4595b1c645725e1208c9852b88ccba27383cb98140a88b429d454a7c
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 history Release notifications | RSS feed

2.4.1

2 release files

2.3.0

2 release files

2.2.0

2 release files

2.1.0

2 release files

2.0.1

2 release files

2.0.0

2 release files

1.0.6

2 release files

1.0.4

1 release file

1.0.3

2 release files

This release

1.0.2 This release

2 release files

1.0.1

1 release file

1.0.0

1 release file

0.0.9

2 release files

0.0.8

2 release files

0.0.7

2 release files

0.0.6

2 release files

0.0.5

2 release files

0.0.4

2 release files

0.0.3

2 release files

0.0.2

2 release files

0.0.1

2 release files

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