It's a bit hard to see what you are doing. If you are using wtforms and jinja then you are
definitely doing server side rendering (jinja is interpretted on the server, noit the browser. So
any button s in a form need to cause an action to happen, but from the wtforms point of view, the
only available action is to post the form, that's why there is only a submit button available.
If you want to do client side rendering, use AJAX and jquery/DOM is the better solution.
Does that make sense?
Dynamic WTForms and multiple button/submitfields (all 5)