How do I use "tel", "number", or other input types in WTForms?
This appears to be missing from the WTForms docs, but there are field definitions for all the input types added in HTML 5.
from wtforms.fields.html5 import TelField
phonenumber = TelField()
Until they're added to the docs, here's their definition in the code.