Re: [web2py] Re: From autogenerated form to custom form

2010-08-06 Thread Sebastian Bassi
On Thu, Aug 5, 2010 at 7:12 PM, Chris S wrote: > Using a custom form in your view should not change your controller > any. > > Just use the same controller and instead of the view having: > {{=form}} I don't have {{=form}} in my view. Here is the view: http://pastebin.com/npCADyQs > It should ha

Re: [web2py] Re: From autogenerated form to custom form

2010-08-06 Thread Sebastian Bassi
On Thu, Aug 5, 2010 at 7:12 PM, Chris S wrote: > It should have: > {{=form.custom.begin}} > // your custom stuff including submit button > {{=form.custom.end}} I will try it. > don't use it or set it to something known.   It might not matter, but > why explicitly set it to none?  I can't think o

[web2py] Re: From autogenerated form to custom form

2010-08-05 Thread Chris S
Using a custom form in your view should not change your controller any. Just use the same controller and instead of the view having: {{=form}} It should have: {{=form.custom.begin}} // your custom stuff including submit button {{=form.custom.end}} I've never tried it but setting formname to "Non