Two problems... 1) You should use this:
{{=form.custom.begin}} {{=form.custom.widget.fieldname1}} {{=form.custom.widget.fieldname2}} {{=form.custom.widget.fieldname3}} ... {{=form.custom.end}} 2) {{=form.custom.widget.fieldname1}} only displays the INPUT widget for the fieldname1 field. You need to put html structure around it in a custom form {{=form.custom.begin}} <table> <tr> <th>Fieldname1</th><td>{{=form.custom.widget.fieldname1}}</td> </tr> ... </table> {{=form.custom.end}} You can also use form=SQLFORM(...,formstyle='table3cols' or 'table2cols' or 'div' or 'ul') and {{=form}} and then customize via CSS only. On 5 Lug, 08:31, elfuego1 <elfue...@gmail.com> wrote: > I don't have the code infront of me right now, but out of the top of > my head - it looks like that: > > #view > {{=form.custom.begin}} > {{=form[0][0]}} <p> > {{=form[0][1]}} <p> > {{=form[0][2]}} <p> > {{=form[0][3]}} <p> > ... > {{=form.custom.end}} > > On 5 Lip, 13:51, mdipierro <mdipie...@cs.depaul.edu> wrote: > > > Can you post an example of your custom form? > > > On 5 Lug, 03:19, elfuego1 <elfue...@gmail.com> wrote: > > > > Hello, > > > > I try to give my custom form sense of order. Unfortunatelly all the > > > input fields are out of order. > > > When I generate form usign {{=form}} syntax, all fields are displayed > > > nice and clean but in custom form it's all shifted, skew. Input fields > > > are glued to the label. > > > How can I align input fields so they would look like on a pro form? > > > > Best regards.