When I coding my first Flask application, I was faced with challenge to get working user details editing form in the bootstrap modal with proper form validation from every page (I want to place “Edit profile” button in the top menu). I found good article, but JS from it works well only if modal opens on same route that’s form are placed. So I spend a whole day to change this JS and as a result, it had some improvements.
© quaded.com