We have a Flask form class with the following code.
We have the following fields
name: String field, used to accept name inputs from the userage: Integer field, used to accept age input as an integer from the user
We need the following validations on the fields:
name: data is required to be always presentage: data is required to be always present, between12to20.