Forum OpenACS Development: Re: Form-builder display/edit modes

Collapse
Posted by Roberto Mello on
Ola,

I missworded my statement here in the forum when I said "support for -section attributes to ad_form".

But I worded it right in my README (http://www.brasileiro.net/code/forms/README-forms.txt) in the tarball I made for 4.6:

"Added support for the templating system's -section attribute to form elements, to ad_form"

which is accurate. ad_form's 1.1 implementation of -section may be interpreted differently in the future from the element attribute -section that I added support for.

The non-element-attribute section would be (in my view) a way to generate a separation between elements. Whereas the element attribute -section could be interpreted as a way to group elements together, even if there's no visible separation row like the current standard.adp template for forms generates.

In summary, I think they serve different purposes, but maybe Lars should answer that as he can explain what was in his mind.

-Roberto