I am changing "form.begin" ot just "begin" as below: {{=form.custom.begin}} {{=form.custom.widget.field1}} {{=form.custom.widget.field2}} {{=form.custom.widget.field3}} {{=form.custom.submit}} {{=form.custom.end}}
On Jun 11, 12:29 am, Hans Donner <hans.don...@pobox.com> wrote: > Nice, > > > <input type="submit"> > > can be done with > {{=form.custom.submit}} > > and if you want to add the delete? checkbox > {{=form.custom.deletable}} > > On Thu, Jun 11, 2009 at 7:12 AM, mdipierro<mdipie...@cs.depaul.edu> wrote: > > > done but it is now > > > {{=form.custom.form.begin}} > > {{=form.custom.widget.field1}} > > {{=form.custom.widget.field2}} > > {{=form.custom.widget.field3}} > > <input type="submit"> > > {{=form.custom.form.end}} includes hidden fields! > > > Massimo > > > On Jun 10, 11:27 pm, Hans Donner <hans.don...@pobox.com> wrote: > >> > You only need widgets > > >> > <form> > >> > {{=form.custom.widget.field1}} > >> > {{=form.custom.widget.field2}} > >> > {{=form.custom.widget.field3}} > >> > <input type="submit"> > >> > {{=form.hidden_fields()}} > >> > </form> > > >> better is to use {{=form.start}} in stead of <form>, this will take > >> over any actions/methods etc that are used in the SQLFORM, > >> and for now {{=form.close}} and </form> are the same unless I can > >> figure out how to include the {{=form.hidden_fields()}} properly in > >> {{=form.close}} --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "web2py Web Framework" group. To post to this group, send email to web2py@googlegroups.com To unsubscribe from this group, send email to web2py+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/web2py?hl=en -~----------~----~----~----~------~----~------~--~---