class FlexibleDecimalField(fields.DecimalField):

    def process_formdata(self, valuelist):
        if valuelist:
            pass
How to accept both dot and comma as a decimal separator with WTForms?