Jinja2 checkbox values returned as “on” in flask forms
I have a dashboard, where a user can select from a list of available movie genres. They can also select a movie runtime. When looking at the console, it looks like the values are being “posted” to my application. However, the “checkboxes” are being sent where the keys are the individual names, and the value is “on”. What I’d like to do is have them post where the values are the names. From there I’d like to use the movie genres, as well as the runtime as a bind parameter for a separate PL/SQL procedure (not shown here/not accomplished yet). However, I cannot find a solution anywhere on here. I think part of the issue is that I am using Jinja templating to dynamically pass in those values to the index.html page.