
25 Nov
2010
25 Nov
'10
4:47 a.m.
On Thu, Nov 25, 2010 at 11:43 AM, Dmitry Olshansky
Hello all,
can I handle a form with more than one button in Yesod?
In this case pair (button_name, button_value) is sent to the server on submit. Can I get it in some way?
You can use the maybeStringInput function together with runFormPost' (notice the apostrophe) to get access to submissions without using the standard form setup. Depending on what you need, that may be sufficient. Michael