Skip to main content

Generate client side, parsley.js validation attributes automatically from WTForms server side validators.

Project description

This is a small library which you can hook into your WTForms form classes in order to enable client side validation.

WTForms allows you to validate your forms on the server side. Ideally, we could reuse these validators on the client side with JavaScript without writing any extra code. This will allow for more direct user feedback in our forms.

This library uses ParsleyJS for this task. ParsleyJS is a popular client side JavaScript validation library. It is configured using specific HTML markup in the forms.

This library will generate these attributes from your WTForms validators.

For more information consult the in the Github repository at

Project details

Download files

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

Files for WTForms-ParsleyJS, version 2.0.1
Filename, size File type Python version Upload date Hashes
Filename, size WTForms_ParsleyJS-2.0.1-py2-none-any.whl (9.4 kB) File type Wheel Python version 2.7 Upload date Hashes View
Filename, size WTForms_ParsleyJS-2.0.1-py3-none-any.whl (9.2 kB) File type Wheel Python version 3.4 Upload date Hashes View
Filename, size WTForms-ParsleyJS-2.0.1.tar.gz (6.8 kB) File type Source Python version None Upload date Hashes View

Supported by

AWS AWS Cloud computing Datadog Datadog Monitoring Facebook / Instagram Facebook / Instagram PSF Sponsor Fastly Fastly CDN Google Google Object Storage and Download Analytics Huawei Huawei PSF Sponsor Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Salesforce Salesforce PSF Sponsor Sentry Sentry Error logging StatusPage StatusPage Status page