2015-10-06 9:58 GMT-05:00 John McDermott, CPLP <jjm@jkintl.com>:
I use an onClick function (an event handler would probably be better) for buttons rather than the default behavior. In my case I use it to pre-process the data so it is more easily managed by Dancer2.


I ended up separating it into two different forms -- one for each submit button. Thanks for the onclick idea though.