If you do SQLFORM(....formstyle='table2cols') you get:

|Field1 Label| |Comment1|
|Field1|Comment2|
|Field2 Label| |
|Field2|

else you can use SQLFORM(....formstyle='divs')

and align the divs yourself.



On 9 Lug, 09:18, Jean-Guy <[email protected]> wrote:
> Hello,
>
> I would like to change the way the grid of SQLForm or crud is presented :
>
> |Field1 Label|Field1|Comment1|
> |Field2 Label|Field2|Comment2|
>
> I would prefer it be like this :
>
> |Field1 Label| |
> |Field1|Comment1|
> |Field2 Label| |
> |Field2|Comment2|
>
> How may I change it if it is possible?
>
> Thank you!
>
> Jonhy

Reply via email to