I'm trying to put different input fields into different html elements.
In the book only mentioned how to use custom form with pre-defined
database.

db.define_table('image',
    Field('name'),
    Field('file', 'upload'))

{{=form.custom.begin}}
    {{=form.custom.widget.name}}

If I am creating my form from the FORM object, can I break it down in
a similar way? For example

form = FORM('Name: ',
              INPUT(_name='name'),
              'Password: ',
              INPUT(_name='password', _type='password'),
              INPUT(_type='submit'))

Reply via email to