[web-devel] Yesod Form

Michael Snoyman michael at snoyman.com
Thu Nov 25 10:47:30 CET 2010


On Thu, Nov 25, 2010 at 11:43 AM, Dmitry Olshansky
<olshanskydr at gmail.com> wrote:
> 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


More information about the web-devel mailing list