Skip to main content

Create forms and embed them on CMS pages

Project description

This add-on allows you to:

  • create forms

  • display them on CMS pages

Installation

Aldryn Platrofm Users

Choose a site you want to install the add-on to from the dashboard. Then go to Apps -> Install app and click Install next to Forms app.

Redeploy the site.

Manuall Installation

Run pip install aldryn-forms.

Update INSTALLED_APPS with

INSTALLED_APPS = [
    …
    'absolute',
    'aldryn_forms',
    'captcha',
    'emailit',
    …
]

Set the following settings accordingly if you want to have re-captcha form field plugin available:

  • RECAPTCHA_PUBLIC_KEY

  • RECAPTCHA_PRIVATE_KEY

Visit django-recaptcha for more info about installation.

Creating a Form

You can create forms in the admin interface now. Search for the label Aldryn_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.

Multiple Select Field renders multiple checkboxes.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

aldryn-forms-0.0.21.tar.gz (21.6 kB view details)

Uploaded Source

File details

Details for the file aldryn-forms-0.0.21.tar.gz.

File metadata

File hashes

Hashes for aldryn-forms-0.0.21.tar.gz
Algorithm Hash digest
SHA256 c8660f896e870b6eefe5ebd1910c03fed065661a1970ff5e068ca75cedfb4561
MD5 21c991e47354e55e18de494b0d554bce
BLAKE2b-256 ed25785dafd2a8d769bad910d5561e2e4ad423e46887fade024888bad623f695

See more details on using hashes here.

Provenance

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page