Passing form data from a popup window in Flask
I'm working on a website/blog setup for myself using Flask, SQLite (via SQL Alchemy), WTForms, and Bootstrap. I have a form to add a blog post ("contentmaker"), and a form to add a file upload (retitling the file, creating a file reference including stuff like a description in my database, etc) which I am opening in a popup window. Right now, it just uploads the file and reloads itself. What I want to do is close the upload popup window and pass the path the file was saved to and the file.id from the newly created database entry back to the blog post -- the first to be used in the post content
0 upvotes
View original discussion ↗
Comments
Sign in or sign up to comment and upvote.
No comments yet.