[drupal-devel] [bug] form() should respect block level elements.

Dries drupal-devel at drupal.org
Mon May 23 20:31:03 UTC 2005

Issue status update for http://drupal.org/node/23387

 Project:      Drupal
 Version:      cvs
 Component:    base system
 Category:     bug reports
 Priority:     normal
 Assigned to:  Robin Monks
 Reported by:  Robin Monks
 Updated by:   Dries
 Status:       patch

Yes/no?  Please advise.  If this patch is required, we might want to
revise the call sites of form().  I believe some are adding divs to
solve exactly this.


Previous comments:

May 22, 2005 - 20:17 : Robin Monks

Attachment: http://drupal.org/files/issues/empty div form item fix.patch (682 bytes)

This patch uses a blank div to allow block level ellements (like input>
to go inside the form element per xhtml 1.0 specs.  This patch works
and validates, and is required for validation.


More information about the drupal-devel mailing list