Flask WTForms always give false on validate_on_submit()
I have created a signup form using wtforms. I am using FormField in it so that I don't have to repeat some of the elements of the form again. But whenever I click on the Submit button it always give me false on validate_on_submit method invocation. Not getting why is this happening. My form.py is as follows: class ProfileInfoForm(Form): firstname = TextField('firstname', validators= [validators.Required("Please enter First name.")]) lastname = TextField('lastname', validators= [validators.Required("Please enter Last name.")]) email = EmailField('email', validators= [validators.Required("Please