Mark-up of forms

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

Mark-up of forms

Roel Veldhuizen
Hi All,

How can I adapt the markup of a form? For example I want the form
shown in two columns with input fields instead of one.
If this is not possible in a form xml, could I build forms in ftl pages?

Thanks in advance,

Roel Veldhuizen
Reply | Threaded
Open this post in threaded view
|

Re: Mark-up of forms

Jacques Le Roux
Administrator
Yes, as soon as the widget form capabilities are exceeded Freemarker is the way
http://docs.ofbiz.org/display/OFBADMIN/Best+Practices+Guide#BestPracticesGuide-ViewPresentationTemplates

Jacques

From: "Roel Veldhuizen" <[hidden email]>

> Hi All,
>
> How can I adapt the markup of a form? For example I want the form
> shown in two columns with input fields instead of one.
> If this is not possible in a form xml, could I build forms in ftl pages?
>
> Thanks in advance,
>
> Roel Veldhuizen
>
Reply | Threaded
Open this post in threaded view
|

Re: Mark-up of forms

David E Jones-3
In reply to this post by Roel Veldhuizen

Check out the EditProduct page:

https://demo.hotwaxmedia.com/catalog/control/EditProduct?productId=WG-1111

Look at its form definition in the ProductForms.xml file to see how it  
does multi-column and other neat things.

-David


On Feb 9, 2009, at 1:53 AM, Roel Veldhuizen wrote:

> Hi All,
>
> How can I adapt the markup of a form? For example I want the form
> shown in two columns with input fields instead of one.
> If this is not possible in a form xml, could I build forms in ftl  
> pages?
>
> Thanks in advance,
>
> Roel Veldhuizen

Reply | Threaded
Open this post in threaded view
|

Re: Mark-up of forms

Bruno Busco
In reply to this post by Roel Veldhuizen
Hi Roel,
you can use the position attribute of the field tag.

-Bruno

2009/2/9 Roel Veldhuizen <[hidden email]>:

> Hi All,
>
> How can I adapt the markup of a form? For example I want the form
> shown in two columns with input fields instead of one.
> If this is not possible in a form xml, could I build forms in ftl pages?
>
> Thanks in advance,
>
> Roel Veldhuizen
>