[Tickets #5614] XHTML Error - already defined id when using Horde_Form

bugs at bugs.horde.org bugs at bugs.horde.org
Thu Aug 9 12:23:33 UTC 2007


DO NOT REPLY TO THIS MESSAGE. THIS EMAIL ADDRESS IS NOT MONITORED.

Ticket URL: http://bugs.horde.org/ticket/?id=5614
-----------------------------------------------------------------------
 Ticket             | 5614
 Created By         | torsten.homberger at web.de
 Summary            | XHTML Error - already defined id when using Horde_Form
 Queue              | Horde Framework Packages
 Version            | FRAMEWORK_3
 Type               | Bug
 State              | Unconfirmed
 Priority           | 1. Low
 Owners             | 
-----------------------------------------------------------------------


torsten.homberger at web.de (2007-08-09 05:23) wrote:

If you use a Horde_Form and renderActive the name of the form is used for
the form-id and div-id. An id has to be unique in xhtml.

Example:
$variables = Variables::getDefaultVariables();
$form = &new Horde_Form($variables, 'Title', 'form_name');
$renderer = &$form->getRenderer();
$form->renderActive($renderer, $variables, Horde::selfUrl(), 'post');



More information about the bugs mailing list