Bryan Richter | 3 May 2012 20:30
Picon
Gravatar

Re: How to use multiple forms in one page?

On Thu, May 3, 2012 at 10:22 AM, Felipe Almeida Lessa <felipe.lessa-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
On Thu, May 3, 2012 at 1:35 PM, Bryan Richter <bryan.richter-Re5JQEeQqe8AvxtiuMwx3w@public.gmane.org> wrote:
> If anyone has a nicer idea I would love to hear it!

You may have different routes for each form.  I don't know how well
would that fit on your app, though.


At the time I had a really good reason for not using separate routes. I'm sure if I go back and look at it I might see things differently. :) 

TBH my whole understanding of Yesod.Form is a little shaky still. Has anyone else found it slightly difficult to wrap their heads around it? Especially wrt to client-side construction and modification of forms.

I have a newfound understanding of Applicative that might help me out when I get back to it.

-B
(wrapping up a 6-week diversion into C++ and anxious to dive back into Haskell)

Gmane