Python Flask WT-Forms: Adding JavaScript to Submit a Form without a Submit Button ("AutoPostBack")

Published: 04 August 2023
on channel: Thomas Blum
292
6

In this video we look at some example code that uses Python, Flask, and WT-Forms to make a page with a form on which there is no submit input/button. Instead we include some JavaScript that adds an event handler for another element (a number input in this case) and that event handler submits the form. In addition the server (Python-Flask) passed some HTML code (it had some HTML entities), and we used the Jinja safe filter to render that passed HTML.


Watch video Python Flask WT-Forms: Adding JavaScript to Submit a Form without a Submit Button ("AutoPostBack") online without registration, duration hours minute second in high quality. This video was added by user Thomas Blum 04 August 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 292 once and liked it 6 people.