On Sun, Mar 7, 2010 at 1:23 PM, Wyatt Baldwin <[email protected]> wrote: > On Mar 7, 11:02 am, Mike Orr <[email protected]> wrote: >> On Sun, Mar 7, 2010 at 6:36 AM, Mark <[email protected]> wrote: >> > I'm sorry guys, maybe it's just me, but I'm having tons of problems >> > with my forms: >> >> > I have a new() and create() just like what the book says. My new() >> > action basically just renders my form. My create() action is as such: >> >> > @validate(schema=NewClassForm(), form='new', post_only=True, >> > on_get=True, auto_error_formatter=custom_formatter) >> >> Try it with just the 'schema' and 'form' arguments first and see if that >> works. > > Just to make sure I understand this, the `form` keyword indicates > where to go if validation fails, right?
Yes. In that case, what I said > about "submitting to the wrong URL or [incorrect] routes" probably > isn't applicable. I guess I should read the rest of the thread before > jumping in ;) I don't know if it's applicable or not. Let's see if Mark can get any confirmation on which routes are matched and how much of the validator is executed. -- Mike Orr <[email protected]> -- You received this message because you are subscribed to the Google Groups "pylons-discuss" group. To post to this group, send email to [email protected]. To unsubscribe from this group, send email to [email protected]. For more options, visit this group at http://groups.google.com/group/pylons-discuss?hl=en.
