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<[email protected]> 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 <[email protected]> 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 [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---