multiple columns in single form

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

multiple columns in single form

Michael Xu (xudong)
hi all,

I really enjoy ofbiz form widget. But now I have a problem when handing form
widget which is how to show many fields in a form as single type. By
default, all fields are shown in a single column, which is not that friendly
if fields are too many. So I wonder whether there is an elegant way to add
(or use if existed) a new style for single form to allow form to show fields
in two or even more columns.

(I know we can use FTL, but we really want to stick to form)

Really appreciate for any advice.

--
Regards,
Michael Xu (xudong)
Reply | Threaded
Open this post in threaded view
|

Re: multiple columns in single form

Michael Xu (xudong)
My colleague has figured out how to achieve it. Basically there is a
"position" attribute for form field. If we set position = 2, then there will
be a new column.

Ofbiz rocks!

--
Regards,
Michael Xu (xudong)



On Tue, Aug 10, 2010 at 4:27 PM, Michael Xu (xudong)
<[hidden email]>wrote:

> hi all,
>
> I really enjoy ofbiz form widget. But now I have a problem when handing
> form widget which is how to show many fields in a form as single type. By
> default, all fields are shown in a single column, which is not that friendly
> if fields are too many. So I wonder whether there is an elegant way to add
> (or use if existed) a new style for single form to allow form to show fields
> in two or even more columns.
>
> (I know we can use FTL, but we really want to stick to form)
>
> Really appreciate for any advice.
>
> --
> Regards,
> Michael Xu (xudong)
>
>