Using HTML5 fields with WTForms

This page summarizes the projects mentioned and recommended in the original post on /r/codehunter

InfluxDB – Built for High-Performance Time Series Workloads
InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.
www.influxdata.com
featured
Sevalla - Deploy and host your apps and databases, now with $50 credit!
Sevalla is the PaaS you have been looking for! Advanced deployment pipelines, usage-based pricing, preview apps, templates, human support by developers, and much more!
sevalla.com
featured
  1. wtforms-html5

    HTML5 widgets for WTForms

    I then installed this module https://pypi.python.org/pypi/wtforms-html5 which allowed for it, and everything worked. But I was unhappy about adding an extra dependency, especially as it doesn't seem to be actively developed (https://github.com/brutus/wtforms-html5).

  2. InfluxDB

    InfluxDB – Built for High-Performance Time Series Workloads. InfluxDB 3 OSS is now GA. Transform, enrich, and act on time series data directly in the database. Automate critical tasks and eliminate the need to move data externally. Download now.

    InfluxDB logo
  3. WTForms

    A flexible forms validation and rendering library for Python.

    I then ended up on the WTForms github page, and found that actually there is support for all the new HTML5 fields, but that these fields aren't imported by default. https://github.com/wtforms/wtforms/blob/master/wtforms/fields/html5.py Therefore instead of using

NOTE: The number of mentions on this list indicates mentions on common posts plus user suggested alternatives. Hence, a higher number means a more popular project.

Suggest a related project

Related posts

  • Best library for validating form/request/whatever data?

    1 project | /r/learnpython | 27 Jul 2022
  • Flask_wtf custom validator RequiredIf not working with fieldlist / formfields

    1 project | /r/flask | 16 May 2021
  • Flask + Ajax Error: Dynamic SelectField shows "Not a valid choice"

    1 project | /r/flask | 12 Apr 2021
  • Pre-populate edit form from model with relationships

    1 project | /r/flask | 15 Mar 2021
  • How do you validate the json data in request?

    1 project | /r/flask | 2 Oct 2021