You have the following FlaskForm class:
class LoginForm(FlaskForm):
name = StringField("NAME")
password = PasswordField("PASSWORD")
address = StringField("ADDRESS")
dob = DateTimeField("BIRTHDAY")
email = EmailField("EMAIL")
You want to read the values for the name and password fields on the server side for a POST request.
Write the correct code on the server side for reading the fields, using LoginForm.