> In your def POST, you need to fill the form. There are a couple ways
> to do this:
>
> form = self.searchbox()
> form.fill(web.input())
>
> or
>
> form = self.searchbox()
> if not form.validates(): # the validates method will fill the form
> using web.input() by default
>  return render.index(form)

Brilliant, that worked, thank-you!

Just out of interest, is there a book available for web.py? I've
searched around for one but can't seem to find one.

Chris

-- 
You received this message because you are subscribed to the Google Groups 
"web.py" group.
To post to this group, send email to we...@googlegroups.com.
To unsubscribe from this group, send email to 
webpy+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/webpy?hl=en.

Reply via email to