Personal tools
You are here: Home Products PloneFormGen Roadmap #2: Fieldsets
Document Actions

#2: Fieldsets

Contents
  1. Motivation
  2. Proposal
  3. Implementation
  4. Risks
  5. Participants
by Steve McMahon last modified February 15, 2007 - 20:48
Add ability to organize forms with XHTML fieldsets
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

Posted by Jon Stahl at November 11, 2006 - 17:07
Even though there may be some risks, I think that fieldsets are a very worthwhile feature, because they make forms much more usable and flexible for end-users. :-)

yes!

Posted by Yuri at February 27, 2007 - 08:57
It is also a win for accessibility.

It also may be possible to flow some changes into Archetypes

Posted by Jon Stahl at February 27, 2007 - 17:12
If you identify minor changes that are needed to Archetypes, I'm guessing they would be open to some well-considered patches.

For any issues with the web site functionality, please file a ticket.

Please consult the policy on plone.org content if you want your content published on this site.

Servers and hosting by