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 README.md in the Github repository at https://github.com/fuhrysteve/wtforms-parsleyjs

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

WTForms-ParsleyJS-2.0.1.tar.gz (6.8 kB view details)

Uploaded Source

Built Distributions

If you're not sure about the file name format, learn more about wheel file names.

WTForms_ParsleyJS-2.0.1-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

WTForms_ParsleyJS-2.0.1-py2-none-any.whl (9.4 kB view details)

Uploaded Python 2

File details

Details for the file WTForms-ParsleyJS-2.0.1.tar.gz.

File metadata

File hashes

Hashes for WTForms-ParsleyJS-2.0.1.tar.gz
Algorithm Hash digest
SHA256 960d6b38ab6088c7cd55736b8ad61730927151d11bf392f0a4476cd1023d2985
MD5 d72bbbfc9cf7592616c123efbbcfb003
BLAKE2b-256 076911f103b661491e796bf01cf427ff627bdb0467bbe5e0981749c7200ecd07

See more details on using hashes here.

File details

Details for the file WTForms_ParsleyJS-2.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for WTForms_ParsleyJS-2.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 b1b3b78a8bb6cf113e5f6ada8cc6bfbc3826e54cbd736e0d07e45f2f903bbd4a
MD5 9632b6324ff92e05b9dd0cdb2f5c83e4
BLAKE2b-256 a4d14ada43f9cd13721f4a7f9ea296f47f1f3762774514cc49042fb49ab9d0be

See more details on using hashes here.

File details

Details for the file WTForms_ParsleyJS-2.0.1-py2-none-any.whl.

File metadata

File hashes

Hashes for WTForms_ParsleyJS-2.0.1-py2-none-any.whl
Algorithm Hash digest
SHA256 523be800b793f52c6b225c311c38146bf0966a7a88cd7b9631cfc5d3890c268c
MD5 be6dad8b73a780eb423071eb79a37ad9
BLAKE2b-256 6f55dff84abbe23a47e269f47862878021070701819748bb36f6feac0e8d4e1b

See more details on using hashes here.

Supported by

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