Flask & WTForms: How to make a form with multiple submit buttons?
<p>Imagine I need to build a travel planning form like this:</p>

<pre><code>Going from [_Picadily_Circus____]
Going to [_Marylebone_____]
(Starting by) (Arriving by) [5]:[30][pm]
</code></pre>

<p>Both (Starting by) (Arriving by) are submit buttons. The example is artificial to show a two-button usecase so let's not discuss usability.</p>

<p>How do I do this with Flask and WTForms?</p>

<p>How to see which button was actually pressed?</p>