[Flask] Data validation
linux4ms at gmail.com
Mon Sep 30 09:31:02 EDT 2019
Ok, I got how to do data validation using wtforms, as well as preventing
Now, how is the procedure I need to do if the data fails SERVER validation?
For example, it passes 'form.validate()" but testing within that 'if'
reveals bad data. I want to keep the existing data in the form, but reject
the form because
some value was not correct, and set a error message and re display the form
As always thanks.
DBA / Chief Software Architect
Mississippi State Supreme Court
Electronic Filing Division
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Flask