HCDigitalScholarship / LinkedFlask

0 stars 0 forks source link

People search on homepage #6

Closed kwaychoff closed 8 years ago

kwaychoff commented 8 years ago

Some of the changes I made on 10/21 have made it so if you search an exact name under people it gives the letters page for that person.

I think it might be a problem with my if statements in the "home" function in hello.py.

kwaychoff commented 8 years ago

I am not sure that I can fix this problem without some other method of being able to tell which form is being filled in/submitted

kwaychoff commented 8 years ago

http://stackoverflow.com/questions/18290142/multiple-forms-in-a-single-page-using-flask-and-wtforms

Someone had a similar problem.

mfhodges commented 8 years ago

The core of the problem is that even though letterforms isnt filled out it is claiming that .validate() is true.

kwaychoff commented 8 years ago

I think I solved this by giving the forms a name in home.html.