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/johannes-gehrs/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-0.1.4.tar.gz (4.4 kB view hashes)

Uploaded Source

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