#2: Fieldsets
- Contents
- Proposed by
- Michael Dunlap
- Seconded by
- Steve McMahon
- Proposal type
- Architecture
- Assigned to release
- State
- completed
Motivation
PloneFormGen should support the <fieldset> tag for forms because it allows for visual grouping of related items on a form.
Proposal
It could be implemented with a simple folderish type to be added to the form to which form elements are added. Fieldsets cannot contain fieldsets which is easy enough to restrict
Implementation
It may be possible to do this without further intervention into the Archetypes macros by implementing Fieldset start and Fieldset end widgets. They'll be odd widgets because they won't themselves present validatable XHTML, but I think it's possible.
Risks
The problem is that there's no support for html fieldsets in the
current Archetypes. PloneFormGen uses Archetypes for all its widgets
and display logic, so that's a limiting factor.
Implementing html fieldsets will require more extensive intervention into the Archetypes edit macro. That's something of a risk, because it means that PFG will likely break if this get changed in future versions of Archetypes.
Participants
Steve McMahon
A very worthwhile feature