Re: PEAR::QuickForm and XHTML Strict

From: Date: Sat, 27 Nov 2004 16:07:10 +0000
Subject: Re: PEAR::QuickForm and XHTML Strict
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-15853@lists.php.net to get a copy of this message
Hi, Marek Materzok wrote:
PEAR::QuickForm generates name= attribute in FORM tag, which doesn't exist in XHTML 1.0 Strict. A quick fix is a one-liner - removing name from line: $attributes = array('action'=>$action, 'method'=>$method, 'name'=>$formName, 'id'=>$formName) + $target; in HTML_QuickForm constructior. I think, that this should be fixed in the main package.
That's covered in release notes for 3.2.2: http://pear.php.net/package/HTML_QuickForm/download/3.2.2 Setting of "name" attribute is kept for backwards compatibility now.

« previous php.pear.general (#15853) next »