Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

5
  • I think figuring this out would be much more straightforward if you were looking at the resultant HTML rather than this pre processed file. Commented Sep 22, 2017 at 19:51
  • According to timer.js, you're attempting to set the <form>'s value, which doesn't exist. You need to set the <input>'s value. Commented Sep 22, 2017 at 19:51
  • @ChrisG That's what I'm having issues with, I don't know how to set the input value when I'm using WTForms. Commented Sep 22, 2017 at 19:55
  • If I was to send the data in a regular form, like from this answer stackoverflow.com/questions/7764154/… , how do I call that to be input into the database? I can't find the syntax to call the value. Commented Sep 22, 2017 at 20:05
  • Usually, <input> elements have a name attribute; this is used on the server-side to access the value. If you want to set the value, you can reference the input by formElement.name or by assigning it an id. Can you show us the actual HTML of logpage.html? Commented Sep 22, 2017 at 21:57