MUSA-509 / final-project-jacey-tingting

An app for the surrounding environment evaluation
0 stars 1 forks source link

Can not pass address string #1

Open imtingting opened 3 years ago

imtingting commented 3 years ago

Hi Andy, @andy-esch

We try to navigate between our endpoints by using a global variable storing the address. We can fetch the variable correctly between endpoints in Python. However, when we try to resubmit it in the html, the string becomes incomplete(separate by space, i.e. when the address is "3900 Chestnut Street" it will become "3900" ) How can we fix this?

image In the template/TransportationPage.html, the address in the first yellow circle is correct, but the address in the second circle is wrong.

We'd also be happy to talk for 10 minutes about this. Thanks for your help!

andy-esch commented 3 years ago

Put quotes around the second one!

value="{{ address }}"

imtingting commented 3 years ago

Put quotes around the second one!

value="{{ address }}"

It works! Thanks!